Skip to content

starsight/iec-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iec-compiler


A compiler for IEC61131-3 language

Features


  1. Support recognition of POUs' declaration part & definition part
  2. Support recognition of IL tokens

Building Environment


  1. OS: Ubuntu 14.04 x86_64
  2. CMake 2.8.12.2
  3. GCC 4.8.4 (-std=gnu++0x)
  4. flex 2.5.35
  5. bison 3.0.2

Building Steps


  1. Change directory to the root directory of project
  2. $ mkdir build and $ cd build
  3. $ cmake ..
  4. $ make
  5. $ ../iec_compiler.exe < ../test/test4lexer

Release Notes


Essential Errors


  1. 数组赋值时的边界检查 cal_array_offset_multi_helper
  2. 由于在generate_pou_invocation.cc中未添加对数组,结构体的支持,因此函数调用参数不允许出现以上数据结构。

Update Log


update-log

Thanks


Thanks to Beremiz

About

iec-compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published