Rotary Quine

From Esolang
Jump to navigation Jump to search

A rotary quine is a program P with the following properties:

  1. P must not contain any comments or unnecessary whitespace or similar.
  2. P is a quine.
  3. 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.
  4. All rotations Rx must be quines.


In HQ9+ the quine Q+ would be a rotary quine.