5 ms·
Pipe a quine into a compiler, run the output. Bow before my might simple mortals. -- For fun a while back I was playing with the concept of self modifying ba
by nannal 8y ago
Pipe a quine into a compiler, run the output.
Bow before my might simple mortals.
--
For fun a while back I was playing with the concept of self modifying bash.
A bash script that duplicates and modifies a random character/ adds a character in a random location, or deletes a character.
Then running the output and the original file.
Obviously I got a lot of broken scripts, my point is self writing software is possible, automated, well thought out edits are a long way off.