Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A quine is a program which produces its source as output. This tag indicates that the challenge is related to quines. [self-referential] should be used for challenges that, while having the output have some relation to the source code, do not require fully reproducing the source.
22
votes
9
answers
929
views
Generate a Markdown Template for your Post
Your task is simple: Write a program (or function) that takes no input and outputs something like this:
## *name*, *length* bytes
*code*
Where *name* is the name of the language you are using, …
25
votes
11
answers
1k
views
Quote-Safe Quines
Your task is simple: write a program (or function) that takes no input and outputs (or returns) its source code. The catch is that when the program is wrapped in "quotes" (Unicode character 34), it sh …
17
votes
2
answers
650
views
Quine/Error Quine Polyglot
It should be a normal quine (prints its own source code) in language 1, and should be an error quine (generates an error message identical to its own source code) in language 2. … The error quine rules are the same as those in Make an Error Quine!. …
12
votes
4
answers
663
views
Entropic Quine!
After the first execution, your program will not necessarily be a quine anymore; the output will have changed (and the program is free to modify itself as well). … For example, if your quine was ABCD, repeatedly running it might print:
ABCD
A!CD
j!CD
j! …