1. Introduction#

The role of the supervisor is to provide command of the flow of operations during the execution of a program. Execution instructions are generally provided by the user. This requires a formalization of communications between the code and its operator, it is the command language.

Python is used to write the command catalog, supervisor, and user command files. For command files, this allows the supervisor to be relieved of the syntax analysis task, which is performed by Python itself.

A command file is a succession of calls to Python functions (commands), defined in the command catalog. These functions have input arguments: keywords and their content, and output arguments: product concepts. The user who composes his command file must therefore comply with the general Python syntax (parenthesis, indentation…) and the rules imposed by the command catalog (the arguments provided are consistent with what the function expects).

To get in touch with the code for the first time, the reader may not have to go to Chapter 2.