Skip to main content
Version: Sprint 4

Language Reference

Reference documentation for the fla-- Turing Machine scripting language.

Getting Started​

DocumentDescription
OverviewThe structure of a fla-- program and how its sections fit together.
VariantsThe available Turing machine variants and their rules.

Settings​

DocumentDescription
setvariantRequired. Sets the variant (type) of the machine.
settapecountSets the number of tapes for multi-tape variants.
setalphaDefines the tape alphabet.
setblankDefines the blank symbol that fills empty tape cells.

Declarations & Markers​

DocumentDescription
makestatesDeclares the states of the Turing machine.
makeinitDesignates the initial (start) state.
makeacceptDesignates an accept (final) state.
makerejectDesignates a reject state.
makehaltDesignates a halt state for the computational variant.

Transitions​

DocumentDescription
maketransitionsDefines the transition rules for the Turing machine.