摘要
采用面向对象技术设计可视化程序设计语言的编译系统,通过对复杂的可视化图片语法进行分析,将各语法现象以语法单元类的形式进行抽象分类,提出了编译器-编译器的设计策略,给出了从可视化图片设计语言到伪指令代码的解决方法。主要研究在面向对象的编辑环境中如何实现满足硬件设备控制器的稳定、高效的编译系统。通过将可视化程序语言分析器(VPLPG)和小型的类C编译(LCC)器配合使用最终实现可视化程序设计语言的编译系统。
A compiler system for visual programming language is designed by introducing the object-oriented technology into the design process. This paper analyzes complicated visual picture grammars, and syntax phenomenon are abstracted and classified into syntax unit class form. The design strategy of compiler-compiler is presented. The method to resolve translating visual pictures layout language into pseudoinstruction code is discussed. Also, how to realize steady, efficient compile system applying to hardware is studied. Visual programming language parser generator and a small simulated C compiler are used together to generate the final compiler system for visual programming language.
出处
《计算机工程》
CAS
CSCD
北大核心
2007年第13期104-106,共3页
Computer Engineering
基金
国家自然科学基金资助项目(60475031)
湖北省青年杰出人才基金资助项目(2005ABB021)
关键词
面向对象
可视化程序设计语言分析器
小型C编译器
objected-oriented
visual programming language parser generator(VPLPG)
little c code compiler(LCC)