一种软PLC编译执行方法

     

摘要

This paper presents a compiler technology for soft PLC. By analyzing the shortage of the translation-and interpretation-based compilation method, this paper proposes a new compiler technology that translates instruction list into the standard C program as the target language with better portability, and ultimately converts the C program to the executable objective logic components for operating system compiler technology. This technology uses the open-source tools Flex and Bison with powerful features for lexical analysis and syntax analysis, and defines the abstract syntax tree data structure, which improves the systems openness and implementation efficiency.%文章提出了一种软PLC编译技术.通过分析翻译型和解释型编译方法的不足,提出了一种将指令表程序转变为具有可移植性强的标准C程序作为目标语言,最终将其转换为运行系统可执行的目标逻辑组件的编译技术.此编译技术利用了功能强大的开源工具Flex和Bison进行词法和语法分析,并定义了抽象语法树的数据结构,提高了系统的开放性和执行效率.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号