Log In  

Cart #10855 | 2015-05-22 | Code ▽ | Embed ▽ | No License
3


Update: Actually, why not go a bit further, and create a code viewer. Includes a custom font by me.

Cart #10853 | 2015-05-22 | Code ▽ | Embed ▽ | No License
3


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)
]])
P#10854 2015-05-22 04:27 ( Edited 2015-05-27 18:59)

Technically this isn't a quine since you use peek()
still very neat!

P#10949 2015-05-27 14:59 ( Edited 2015-05-27 18:59)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 04:29:19 | 0.009s | Q:15