Rfractran (Q136839)

From MaRDI portal
A 'FRACTRAN' Interpreter and Some Helper Functions
Language Label Description Also known as
English
Rfractran
A 'FRACTRAN' Interpreter and Some Helper Functions

    Statements

    0 references
    1.0
    25 June 2020
    0 references
    1.0.1
    29 August 2023
    0 references
    0 references
    0 references
    29 August 2023
    0 references
    'FRACTRAN' is an obscure yet tantalizing programming language invented by John Conway of 'Game of Life' fame. The code consists of a sequence of fractions. The rules are simple. First, select an integer to initialize the process. Second, multiply the integer by the first fraction. If an integer results, start again with the new integer. If not, try the next fraction. Finally, if no such multiplication yields an integer, terminate the program. For more information, see <https://en.wikipedia.org/wiki/FRACTRAN> .
    0 references
    0 references
    0 references