Rotary Quine
Jump to navigation
Jump to search
A rotary quine is a program P with the following properties:
- P must not contain any comments or unnecessary whitespace or similar.
- P is a quine.
- P must not be just a number of copies of a single character. Equivalently, P has at least one rotation Rx where Rx is not equal to P.
- All rotations Rx must be quines.
Examples
In HQ9+ the quine Q+
would be a rotary quine.