Write a self replicating program, in the source code filename H.*
, contianed in an empty folder then manually compile and run or just run the program if your chosen language is dynamic, and it should then just create a new source file, e.*
, with the same exact source code, and automatically compile/run that new program, which makes the new source file l.*
, etc. until the source file !.*
is made, and that program should do essentially nothing once it is compiled/run. "Hello world!" has some repeated characters, so the second character should be created by a similar filename, just with a new <space>
at the end. Programs that just make/compile source files from the single instance of the program are invalid, and yes, " " is a valid filename. It should appear to say "Hello World!" when viewed in the file explorer sorted by time created.
For example, if you were to attempt this challenge in python, than you would create the source file H.py
, which complies and runs e.py
, which then itself creates l.py
, that file l .py
, o.py
, .py
, w.py
, o .py
, r.py
, l .py
and d.py
which finally creates and runs !.py
, which does not do anything once run.
!.py
? Also, it states thate.*
should createe.*
again. \$\endgroup\$l
s inHello world!
. What should the filename of the 3rd be? \$\endgroup\$