The compiler is a script named simlc. It reads a program file in the SIML language, and writes a program file in the python language. Diagnostic output is printed to the console. General usage is:
simlc <input file name> [<options>]
When no options are given, the generated python program will have the same base name as the input program, but with the extension changed to ".py". Specifically the command below will produce an executable python program with the name "bioreactor_simple.py".
$> simlc bioreactor_simple.siml
Print extensive help message and exit.
Print program's version number and exit.
Explicitly specify the name of the output file.
Run the generated simulation program after compiling.
The <number> specifies which of the program's simulation processes is run. The number counts from the top of the simulation program. The special value "all" means: run all simulation processes.
Do not show any graph windows if running the simulation, in spite of calls to the graph functions.
Specify debug areas to control printing of debug information, and the output of the printc function. This option is passed on to the simulation, if it is run.
When the generated program is started with no options, all simulations in the program are run. The program also has some command line options.
Print extensive help message and exit.
List the available simulations and exit.
Run the generated simulation program after compiling.
The <number> specifies which of the program's simulation processes is run. The number counts from the top of the simulation program. The special value "all" means: run all simulation processes, which is equivalent to giving no options.
Prepend the output with one newline. Only useful when the program is started from the compiler.
Do not show any graph windows in spite of calls to the graph functions.
Specify debug areas to control the output of the print function.