Linked Questions
19 questions linked to/from Golf a mutual quine
4
votes
2
answers
207
views
Inter-language 2-cycle quine [duplicate]
Challenge
Create 2 programs A and B
The output of program A is exactly program B
The output of program B is exactly program A
Neither program should depend on inputs to yield the correct output
A ...
35
votes
6
answers
1k
views
Mutually Exclusive Quines
Your challenge is simple. Write two programs that share no characters which output each other.
Example
Two programs P and Q are mutually exclusive quines if:
P outputs Q
Q outputs P
There is no ...
8
votes
1
answer
510
views
Cyclic Weak Levenquine
This question asking us to make a "Cyclic Levenquine" has gone unanswered. So today we will ask a slightly simpler version. In this challenge we will define a K-Levenquine to be a program whose ...
13
votes
2
answers
442
views
Cyclic strings, hidden programs
Write 3 programs that do the following task:
Let A, B, C source codes of those three programs;
if A runs BC is produced as output,
if B runs CA is produced,
if C runs AB is produced;
so each program ...
31
votes
21
answers
4k
views
Interquine - Two programs that output each other in a loop
Program A outputs program B's code when run, and B outputs A's source.
Requirements:
Only one language across both programs
Programs are different. One program that outputs itself does not qualify. ...
11
votes
4
answers
537
views
Period 2 Reversed Quine
Your task is to write a program that outputs its own source code in reverse. However, when the reversed code is run, it should output the source code, facing the correct direction.
Example
Say your ...
21
votes
14
answers
3k
views
Cheating Cyclic Quine
Concept
Write a program that outputs code in its programming language. That code, when executed, must output the original program.
Rules
Since this is a cheating quine, you can read the original ...
27
votes
7
answers
2k
views
Mutual Negative Quines
This was inspired by Print a Negative of your Code and Golf a mutual quine.
Consider a rectangle of characters, that meet the following restrictions:
Consists solely of printable ASCII characters
...
36
votes
21
answers
4k
views
Write a Polyquine
A polyquine is both quine and polyglot.1 You are to write a quine which is valid in at least two different languages. This is code golf, so the shortest answer (in bytes) wins.
1 I made that up. Or ...
15
votes
3
answers
1k
views
Codegolf: Quine and Antiquine
This challenge is similar to Can you Meta Quine?
A quine is a program that produces itself on STDOUT. This challenge is to produce a program A which when run produces a program B on STDOUT. Program B ...
0
votes
0
answers
175
views
Create a chain of programs in different languages [duplicate]
Create a program in any language, which outputs the source code for a program in another language, which outputs the source code for a program in another language, and so on.
Please post at the top ...
2
votes
2
answers
335
views
Generate code in another language [duplicate]
Write a program in language A which outputs a program in language B where:
Language A != Language B
The output is itself a solution to this question.
This is a popularity contest. If you want to ...
24
votes
4
answers
3k
views
Implement ROT-47... in ROT-47
Challenge: Implement ROT-47 in code that works as both itself and as the ROT-47 version of itself.
Scoring:
Your score is calculated as a percentage of used, ROT-47 eligible bytes in total of both ...
7
votes
2
answers
606
views
Golfing Relay Race
You need to write a program in any language that will produce (source code for) a program in a different language. That program will produce a 3rd program in another language and so on.
You should ...
28
votes
6
answers
2k
views
Can you Meta Quine?
Similar to other quine puzzles (more specifically, this one), write a program that produces the source for itself.
Here's the new twist: The code produced should NOT be identical to the source. ...