A compiler for IEC61131-3 language
- Support recognition of POUs' declaration part & definition part
- Support recognition of IL tokens
- OS: Ubuntu 14.04 x86_64
- CMake 2.8.12.2
- GCC 4.8.4 (-std=gnu++0x)
- flex 2.5.35
- bison 3.0.2
- Change directory to the root directory of project
$ mkdir build
and$ cd build
$ cmake ..
$ make
$ ../iec_compiler.exe < ../test/test4lexer
- 数组赋值时的边界检查 cal_array_offset_multi_helper
- 由于在
generate_pou_invocation.cc
中未添加对数组,结构体的支持,因此函数调用参数不允许出现以上数据结构。
Thanks to Beremiz