Update: Actually, why not go a bit further, and create a code viewer. Includes a custom font by me.
A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its only output.
This achieved by having the program modify it's own source and re-launch via the "run" command.
Essentially it does this:
print([[ (original program source here) ]]) |
Technically this isn't a quine since you use peek()
still very neat!
[Please log in to post a comment]