Awhile back I tried to make a markov chain generator that consumed a bunch of source code of javascript (or whatever language) and then spit out random code to execute with fuckit.js.
You could try something similar to easily produce random python code that will be correct a much higher percent of the time.
The problem was comments screwed it up since it would randomly put comments in code and comment out actual code.
You could try something similar to easily produce random python code that will be correct a much higher percent of the time.
The problem was comments screwed it up since it would randomly put comments in code and comment out actual code.