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 `:. …
4y ago
BQN, 20 bytesSBCS ``` ∾2/0‿8 …
3y ago
[Husk], 8 bytes S+s"S+s …
4y ago
Scala 3, 80 bytes ```lang-sca …
3y ago
Jq, -rn 18 bytes ``` "|@js …
3y ago
BQN, 14 bytesSBCS ``` ∾⟜•FMT …
3y ago
h, 4 bytes ``` 1,-1 ``` …
3y ago
Japt, 9 bytes All credit to …
3y ago
[shortC], 38 bytes Bs){ …
3y ago
1 comment thread