首页 | 本学科首页   官方微博 | 高级检索  
     

可视编译器的设计与实现
引用本文:蒋秀锋,任志雄.可视编译器的设计与实现[J].计算机与现代化,2010(10):63-67,71.
作者姓名:蒋秀锋  任志雄
作者单位:华东师范大学,上海,200062
摘    要:通过一个实际的可视编译器开发实例,描述编译器前端的实现方法。这个编译程序除了易于操作的窗口程序外,还包含了标准C语言子集的编译器。这套编译器涵盖了词法分析器、语法分析器、语义分析器、中间代码生成器和简单错误处理器等一整套程序。通过这个实例可以直观地表现词法和语法的构造过程,图文并茂,生动说明编译器中词法器、语法器的功能及其构造过程。

关 键 词:自上而下  自下而上  C-minus  词法  语法  编译

Design and Implementation of Visual Compiler
JIANG Xiu-feng,REN Zhi-xiong.Design and Implementation of Visual Compiler[J].Computer and Modernization,2010(10):63-67,71.
Authors:JIANG Xiu-feng  REN Zhi-xiong
Affiliation:(East China Normal University,Shanghai 200062,China)
Abstract:This paper shows how to implement a compiler's front end through an actual visual compiler.It's a visual program contenting C subset and easy to operate.This compiler contents lexical analyzer,syntax analyzer,semantic analyzer,intermediate code generator,and a simple error recovery.Through this project,this paper intuitively shows lexical and syntax's construct processing,and describes lexical and syntax's function and construct processing.
Keywords:C-minus
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号