Muriel is a language where the only way to loop is to create a quine and execute it. Your job is to create your own language with this property and an implementation of it in a pre-existing language.

We will define a Muriel-like language like as follows:

  1. It has a built-in command for executing code in its own language, similar to Muriel's @ command or python's exec.
  2. It is Turing complete.
  3. If you remove the built-in execution command it is no longer Turing complete.

Muriel is Muriel-like with @ as its built-in execution command. Smurf is also Muriel-like (its built-in execution command is x). Python is not Muriel-like, since it is still Turing complete if you remove exec.

Your job is to create a Muriel-like programming language, and then to provide an implementation of it in a language of your choice. Your score is the length of the implementation, which you are trying to minimize.


  1. Your built-in execution does not need to function exactly like Muriel. It is up to you how it handles termination of the child program, errors, scoping, etc...
  2. The language you write the implementation can not itself be Muriel-like. (This is so that @ is not a valid entry.) It also must have existed before this post.
  • \$\begingroup\$ Is Underload a Muriel-like language? \$\endgroup\$ – alephalpha Jun 1 '17 at 3:25
  • \$\begingroup\$ @JerryJeremiah Does my edit make it clearer? \$\endgroup\$ – PyRulez Jun 1 '17 at 3:31
  • \$\begingroup\$ @alephalpha That wiki says "Without ^, the remaining program will always decrease in size, eventually halting." If this is true, then yes, Underload is Muriel-like. \$\endgroup\$ – PyRulez Jun 1 '17 at 3:31
  • \$\begingroup\$ What do you do if your target language has multiple eval commands? (Eg Python's exec and eval) Require the removal of all of them to lose TCness? \$\endgroup\$ – CalculatorFeline Jun 24 '17 at 21:07
  • 1
    \$\begingroup\$ @PyRulez I think this should be popularity-contest rather than code-golf, because otherwise the choice of implementation language would make it a chameleon challenge \$\endgroup\$ – Uriel Jun 24 '17 at 23:38

Python 3 and "The minimum TC subset of Underload but with the characters changed to 2019, reversed, and with a 0 on top", 156 bytes

while c:
 if n:
  if n:t=[i]+t

Try it online!

Explanations in the header, commented code in the footer.

  • 3
    \$\begingroup\$ RIP grand chart \$\endgroup\$ – Uriel Jun 24 '17 at 23:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.