![]() Topic awaiting preservation: Quines... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
![]() I was feeling bored in the utmost this afternoon, so I wrote a quine. I checked it and I am pretty certain it is perfect. I might hav slipped with the quotes or something, but I think it works. Its not overly small, but its a lot more readable than the only other JS one I've seen. Here we go: |
Nervous Wreck (II) Inmate From: |
![]() I found a little error: code: <script>... code ... </scri It added the tags, and the second one only says "scri". code: #!/usr/bin/perl -w Tell me if you know how I could shorten it (besides removing the first 2 lines). |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() |
Nervous Wreck (II) Inmate From: |
![]() quote:
|
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
![]() Sorry, I didn't explain. Its just like ninmonkey quoted. If you run that source code, it should come up with an exact copy of itself. |
Paranoid (IV) Inmate From: France |
![]() wrayal: I tried 3 different things |
Paranoid (IV) Inmate From: France |
![]() QUINE is fun |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
![]() Somehow I get the feeling that there is cheating inherent in |
Paranoid (IV) Inmate From: France |
![]() wrayal: I admit that my 2 first quines are more in DHTML than in JavaScript only. But I'm not a QUINE expert so I don't know if using the introspection capabilities of the language "validates" the 3rd & 4th ones. |