I’m working on a new imperative programming language called Akasha. It’s a language where genetic programming can be done in a few lines. The language will allow for the user to use a default function set or they can specify what function set to include in their program generation. The programs generated will be Turing complete unless otherwise specified by the user by limiting the function set. Users will be allow to specify the amount of time a program generated will be allowed to run to prevent infinite loops. Also, the language will allow for a memory limit. It will also allow for program generation by other methods such as hill-climbing or simulated annealing.
The user will be allowed to specify parts of the program he wants generated. So for example, they might know the code they want is in a for loop, but don’t know the content of the for loop. They can write something like:
for(int i = 0; i < 10000; i++){
I haven’t built it yet. I’m in the process of learning how to build languages at udacity: https://www.udacity.com/course/cs262 . But, the only thing I think it would have different than other languages is the code generation.
I’m working on a new imperative programming language called Akasha. It’s a language where genetic programming can be done in a few lines. The language will allow for the user to use a default function set or they can specify what function set to include in their program generation. The programs generated will be Turing complete unless otherwise specified by the user by limiting the function set. Users will be allow to specify the amount of time a program generated will be allowed to run to prevent infinite loops. Also, the language will allow for a memory limit. It will also allow for program generation by other methods such as hill-climbing or simulated annealing.
The user will be allowed to specify parts of the program he wants generated. So for example, they might know the code they want is in a for loop, but don’t know the content of the for loop. They can write something like: for(int i = 0; i < 10000; i++){
}
This is cool. I’m a PL enthusiast myself and have occasionally been interested in code generation like this. What kind of stuff can it do?
I haven’t built it yet. I’m in the process of learning how to build languages at udacity: https://www.udacity.com/course/cs262 . But, the only thing I think it would have different than other languages is the code generation.