3.3 Terminal Mode and Debugger.

When given the ‘--terminal’ (‘-t’) option, mixsim starts in terminal mode. The terminal mode provides a custom shell for executing, tracing and debugging MIX programs. When you start mixsim in this mode, you will see:

 
$ mixsim -t

MIX TERMINAL STATION READY FOR COMMUNICATION

MIX> _

The ‘MIX>’ string at the end of the screen is the terminal prompt, inviting you to enter a command. The syntax of terminal commands is similar to that of shell: each command consists of a command verb, optionally followed by one or more arguments, separated by any amount of whitespace. A command ends with a newline character.