3 ms·
Neat! SSL is similar to Forth and Slash/A in that any of them could easily serve as the ”DNA” of “organisms” in linear genetic programming (a paradigm in which
by bumbledraven 6y ago
Neat! SSL is similar to Forth and Slash/A in that any of them could easily serve as the ”DNA” of “organisms” in linear genetic programming (a paradigm in which organisms are programs represented as strings which evolve via mutation and crossover).
https://en.m.wikipedia.org/wiki/Linear_genetic_programming https://en.m.wikipedia.org/wiki/Linear_genetic_programming
- siraben 6y agoI created an esolang in Mathematica to test out genetic programming, by ruling out possibility of infinite looping, implementing mutation and crossovers to result in a program that would convert a list of numbers to a target number. Even a naïve implementation worked, which was pretty neat!
- kwhitefoot 6y ago> ruling out possibility of infinite looping How? No while loops? No backwards jumps? Or something clever? :-)
- siraben 6y agoNo backward jumps. It was a language with a single register (accumulator) and various arithmetic functions that would let it advance a certain number of steps on the tape, or add/multiply/subtract from the accumulator accordingly.
- 7373737373 6y agoAnother approach would be to have a counter (or several) that limit the number of instruction steps, like the Stackless Python programming language (https://stackless.readthedocs.io/en/latest/library/stackless/pickling.html https://stackless.readthedocs.io/en/latest/library/stackless...) or the KeyKOS operating system (https://github.com/void4/notes/issues/41 https://github.com/void4/notes/issues/41) did