Comments on Obligatory Quine Challenge
Post
Obligatory Quine Challenge
Rules
Using your language of choice, golf a quine.
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.
No cheating -- that means that you can't just read the source file and print it. Also, in many languages, an empty file is also a quine: that isn't considered a legit quine either.
Additionally, your quine may not consist of only one data section. This includes HTML programs without tags (thus only printing their source), and the Golfscript program 1.
Scoring
The shortest program in bytes wins. Trailing newlines must be counted if your program outputs one.
Vyxal/Keg , 8 bytes `:. …
6y ago
BQN, 20 bytesSBCS ``` ∾2/0‿8 …
5y ago
[Husk], 8 bytes S+s"S+s …
6y ago
Scala 3, 80 bytes ```lang-sca …
5y ago
Jq, -rn 18 bytes ``` "|@js …
5y ago
BQN, 14 bytesSBCS ``` ∾⟜•FMT …
5y ago
h, 4 bytes ``` 1,-1 ``` …
5y ago
Japt, 9 bytes All credit to …
5y ago
[shortC], 38 bytes Bs){ …
5y ago

1 comment thread