|
MTMS main
Modern Turing Machine Simulator
|
Header definition for the interactive CLI dashboard interface. More...
Go to the source code of this file.
Functions | |
| int | run_cli_session (TuringMachine &machine, std::string_view input_word, bool interactive) |
| Executes the simulation via the terminal view layer. | |
Header definition for the interactive CLI dashboard interface.
Definition in file cli.hpp.
| int run_cli_session | ( | TuringMachine & | machine, |
| std::string_view | input_word, | ||
| bool | interactive | ||
| ) |
Executes the simulation via the terminal view layer.
| machine | The initialized Multi-Tape Turing Machine engine instance. |
| input_word | The raw string sequence to process. |
| interactive | If true, steps interactively. If false, executes instantly (batch mode). |
Definition at line 53 of file cli.cpp.
References TuringMachine::get_current_state(), State::get_label(), State::is_accept(), TuringMachine::load_input(), render_dashboard(), and TuringMachine::step().
Referenced by main().