Hello,
I've searched for something like this:
--suppose I have a JS3's grammar
so, how can I generate a well formed random code in which the code runs without problem?
For example: instead of get the tokens from a source, I want to make a valid tree with the random rules.
My difficult was that I can't found someone making something like this.
I tried to construct the parsetree, but I found that is not possible cause the tree is read-only.
So, did anyone make something in this sense and can give me a sense of what to do?
Thanks