Evolutionary algorithm: Difference between revisions

Line 4,554:
This is written in POSIX m4, but seems to run least annoyingly in GNU m4. (For instance, OpenBSD m4 may resist attempts to use the interrupt key.)
 
You may, like I did several times, lose patience waiting for it to get that last character. But I have tested thatrun the program terminates,to bycompletion running(in itGNU withm4) aand one-characterit targetworks. :)
 
Note that it writes to a file called ‘__random_number__’. The random number generator here is the best I have come up with that works in all the m4 implementations I have installed. (Something using sysval did not work in OpenBSD m4.)
1,448

edits