Computer, code thyself


Details
I've been meaning to trying out some genetic programming, so why not this month?
So what is genetic programming? In a nutshell, it's applying the idea of Darwinian evolution to code. In this way, we can give a problem we want some code to solve (as long as we have a way of grading how well code is solving it) and then allow the computer to come up with a bunch of random code, seeing how each one does. The "most fit" bits of code then act as parents to the next generation of code, with some random mutations thrown in for good measure. In this way, we can write code that writes code.
Obviously, there's still a lot of questions like how to randomly generate code, combine it, and mutate it, but I have some ideas (mainly using meta-programming). It's still pretty new to me, so lots to discover and share with you all!

Computer, code thyself