chegra comments on What are you working on? January 2014 - Less Wrong

5 Post author: David_Gerard 01 January 2014 11:13PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (27)

You are viewing a single comment's thread.

Comment author: chegra 04 January 2014 12:06:47PM 2 points [-]

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++){ <generate code length="100"> }

Comment author: lincolnquirk 07 January 2014 01:49:07AM 0 points [-]

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?

Comment author: chegra 07 January 2014 10:18:00AM 0 points [-]

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.