Quine - a program that replicates itself

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0009_01C0091B.3F2489A0
        charset="iso-8859-1"

Here's an interesting brain teaser - writing a quine in Euphoria. For those
of you that don't know what a quine is: A Quine is a program that replicates
itself exactly.  A program that copies it's own code from disk does not
count.
I have attached my first quine if you are interested. This program takes
advantage of Euphoria's native atom/sequence structure, and methods of
displaying sequences. It does not write to disk, just to the monitor.

I would be interested in seeing different quines in Euphoria. Euphoria's
handling of sequences lends itself to many potential variations of quine.

Kind Regards,
Aidan.

------=_NextPart_000_0009_01C0091B.3F2489A0
        name="Quine.ex"
Content-Transfer-Encoding: quoted-printable

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu