We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Quine (programming language)

From Esolang
Jump to navigation Jump to search

Quine is an esoteric programming language created by User:IAM. In it, everything is a quine. It is basically the same thing as Text.

Hello world and quine

This is a Hello, world! program and a quine:

Hello, world!

Implementation

See also Cat Program.

All *NIX systems (Linux, BSD, Plan 9, etc.) in accordance with the Single Unix Specification (SUS) have two standard implementations for Quine, cat and echo. Executing a Quine program can be done by running either echo [code] or cat [file]. type is another Quine interpreter from many DOSes, Windows, and ReactOS. Windows PowerShell has Get-Content which also does the same thing as the aforementioned implementations.

See also