[][src]Module fractran::program

Provides a struct to represent program in Fractran, represented as a list of fractions.

Structs

Program

A program in Fractran: a list of fractions. Execution proceeds by multiplying the input number by each fraction in turn, overwriting the current number only if the product is an integer. Execution ends when the state stops changing.