Returns the Fractran program as a tuple.
A tuple containing the program's fractions
Creates a deep copy of this Fractran computation system.
A new Fractran instance with the same program and current state
Gets the current configuration of the Fractran computation.
The current configuration containing the input number, or null if not started
Starts the Fractran computation with the given input number.
The initial input number for the computation
Generated using TypeDoc
Implements the Fractran computation system, a Turing-complete esoteric programming language invented by John Conway. The program consists of a list of fractions, and computation proceeds by multiplying the current number by the first fraction whose denominator divides it.