2 ms·
If you actually want to go down this path then you want a language with as little redundancy as possible. Comments may be useful to humans but they needlessly
by Retric 14y ago
If you actually want to go down this path then you want a language with as little redundancy as possible. Comments may be useful to humans but they needlessly complicate the search space. Abstractly you want to think about the how your language is parsed so you don't for example try different variable names.
Though if you spend enough time your probably going to be reimplementing some type of http://en.wikipedia.org/wiki/Genetic_programming http://en.wikipedia.org/wiki/Genetic_programming
- Falling3 14y agoLike maybe Brainfuck?
- shurcooL 14y agoYep, I was considering directly generating the AST.
- omra 14y ago[Slash/A](https://github.com/arturadib/slash-a https://github.com/arturadib/slash-a) is specially designed for genetic programming / random generation. No matter how you piece together the instructions, it is still a valid program.