×
Help
The Functional Machine Machine is composed of two parts:
- Output (top section)
- Controls (bottom section)
Enter an FMC term directly into the 'FMC term' box
in Controls, or upload from a .fmc or .txt file using the
📁 file button. Use the remaining buttons to control
the machine:
- Parse - Display the parsed AST form of the FMC term.
- Run - Evaluate the entire FMC term at once, displaying the program trace and final state.
- Step - Perform a single machine step on the FMC term, displaying trace and state in turn.
- Reset output - Reset outputs and erase the current state of the machine.
- Reset all - Reset the entire machine, erasing the FMC term additionally.
The Gear ⚙ button opens the machine settings, where the page theme and RNG parameters can be
changed.
The Output boxes display the following:
- Parsed FMC term - The parsed tree form of the current FMC term.
- Machine steps - The sequence of FMC terms processed by the machine, and exit status if completed.
- I/O - Outputs from the machine in sequence.
- Continuation - The current state of the continuation stack, with the top term being the top of
the stack.
- Stacks - The current state of the location stacks, with the end being the top of each stack.
Use Ctrl + \ to halt execution when using the asynchronous run mode.