FRACTRAN

Level Select:

FRACTRAN

Input Device:

Show Instructions nocancel Show Comment Box | Max Iterations: Use Exponent Notation for Runs
  • Fractions are separated with spaces or commas.
  • Separate numerator and denominator with /. Do not include spaces within a fraction.
  • Numerator and denominator should be products of numbers (to powers).
  • Enter powers with ^. Multiply with *.
  • Do not use parentheses.

Example Valid Syntax: 1/2, 3/4*5, 2^3/5^4, 4*10^2/3^2*5

Type Program Here:
  • Use / and ^ to create fractions, exponents.
  • Separate fractions with commas.
  • Use LEFT ARROW to break out of exponents and fractions.
  • Please report bugs. If you encounter parse errors, drop down to "Text".
Type Program Here:

Step-By-Step Debugger:

This isn't necessary for the game, but it can be useful to test your program on various inputs, to get an instinct for what FRACTRAN programs do. The area below provides some tools for doing that.

Input: Animation: Frame Number: