摘要: 采用面向对象技术设计可视化程序设计语言的编译系统,通过对复杂的可视化图片语法进行分析,将各语法现象以语法单元类的形式进行抽象分类,提出了编译器-编译器的设计策略,给出了从可视化图片设计语言到伪指令代码的解决方法。主要研究在面向对象的编辑环境中如何实现满足硬件设备控制器的稳定、高效的编译系统。通过将可视化程序语言分析器(VPLPG)和小型的类C编译(LCC)器配合使用最终实现可视化程序设计语言的编译系统。
关键词:
面向对象,
可视化程序设计语言分析器,
小型C编译器
Abstract: 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.
Key words:
objected-oriented,
visual programming language parser generator(VPLPG),
little c code compiler(LCC)
中图分类号:
魏 兰;李文锋. 基于可视化程序设计语言的编译系统[J]. 计算机工程, 2007, 33(13): 104-106.
WEI Lan; LI Wenfeng. Compiler System for Visual Programming Language[J]. Computer Engineering, 2007, 33(13): 104-106.