The IEC to C compiler
Compiles textual forms of IEC-61131-3 to C code.
Originally started in 2002 by Mario de Sousa (U-Porto) as a ST/IL->C++ compiler for the MatPLC project, this compiler have found a new place to grow inside Beremiz.
Now "MatIEC", as we named it, works this way :
- Compiles ST/IL/SFC code into ANSI-C code.
- All POU parameters and variables are accessible through nested C structs
- Located variables are declared as extern C variables

More details on the compiler structure in this paper.

