Questions tagged [quine]

For questions about challenges and rules related to quines. A quine is a program that outputs its own source code. It must be non-empty, and cannot read its own source code or take user input.

Filter by
Sorted by
Tagged with
4
votes
3answers
346 views

Is `document.body` reading your source code?

Related to this quine answer. There was this comment: That meta question is not applicable to this answer. document.body is not a function which you've created ...
8
votes
1answer
218 views

Quines and newlines

A simple question really: how strict is this community (or how strict does it want to be) about newlines when it comes to quines? For example, is the Python quine ...
0
votes
0answers
55 views

p command in Funge-98 quines

Should the p command be considered cheating in Funge-98 quines? I'm asking because: Unlike the g command it does not read source code, so it doesn't break "No reading source code" rule. But it does ...
12
votes
3answers
1k views

Is a quine that reads a function's source a cheating quine?

So, in the last couple months, I have seen several (especially JavaScript) quines told that they are cheating because they stringify a function. Accordingly, I thought that was the standard - it's ...
0
votes
2answers
61 views

Which answer should I give my bounty to?

I started a bounty on this question because I didn't think it could get beaten. The next day it was beaten by Dennis. I was sure this would win, but then it was beaten again. However, I am a bit ...
37
votes
2answers
557 views

We need a new proper quine definition

Note: In this Meta question, it was determined that the correct thing to do if you think an established consensus has become outdated is to post a new question, even if the question would otherwise be ...
-1
votes
1answer
120 views

Possible Quine Loophole [duplicate]

I am working on a golfing language, and I think I have figured out a way past the "a program may not read it's own source code as input" rule. The idea is simple: every time a command is executed, ...
3
votes
1answer
148 views

Who is right in defining the meaning of a word: meta or challenge? [duplicate]

This is a crazy (crazy as in crazy weird) issue. If a challenge defines a quine as A quine is a non-empty computer program which takes no input and produces a copy of its own source code as its ...
23
votes
3answers
6k views

What counts as a proper quine?

The basic definition of a quine is a program that, when run, produces its own source code as output. There are a number of techniques and a number of way to implement those techniques across a number ...