Incorrect comments on Automatic programming, an example - Less Wrong

12 Post author: Thomas 01 February 2012 08:55PM

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

Comments (32)

You are viewing a single comment's thread.

Comment author: Incorrect 01 February 2012 09:54:49PM 3 points [-]

Usually it then just notices a syntax error and repairs everything to the last working version

That sounds like a terrible waste. Why not use a tree-based model of C that excludes as many invalid programs as practical?

Comment author: Thomas 02 February 2012 07:36:21AM 3 points [-]

That sounds like a terrible waste.

Technically speaking this is a very swift part, since every syntax error is detected before the code is rewritten and the mutations are just abandoned.

Comment author: shminux 02 February 2012 01:21:02AM 2 points [-]

Most random mutations are fatal, so it fits perfectly.

Comment author: RolfAndreassen 02 February 2012 03:28:03AM 10 points [-]

That depends on whether your purpose is to produce an analog with evolution, which we already have plenty of, or a new method for making working code.

Comment author: jmmcd 02 February 2012 07:48:43PM 1 point [-]

That is the more common approach. Grammatical evolution is one method.