计算机与现代化 ›› 2014, Vol. 0 ›› Issue (1): 10-13.

• 软件工程 • 上一篇    下一篇

基于面向对象技术的MiniC编译器的设计与实现

  

  1. 江西师范大学计算机信息工程学院,江西南昌330022
  • 收稿日期:2013-08-02 出版日期:2014-01-20 发布日期:2014-02-10
  • 作者简介:王岚(1974-),女,江西南昌人,江西师范大学计算机信息工程学院副教授,硕士,研究方向:面向对象技术。

Design and Implementation of MiniC Compiler Based on Object-oriented Technology

  1. College of Computer and Information Engineering, Jiangxi Normal University, Nanchang 330022, China
  • Received:2013-08-02 Online:2014-01-20 Published:2014-02-10

摘要: 针对传统编译器过于抽象复杂的不足,本文提出MiniC实例语言,采用面向对象技术实现该语言的编译器。MiniC编译器可以演示复杂的程序分析过程,给出编译各阶段的详细分析结果,使编译原理中的抽象内容可视化。实际应用表明,MiniC编译器在促进人们对编译理论的理解和提高系统软件开发能力方面能够发挥重要作用。

关键词:  , 编译原理, 编译器, 面向对象

Abstract: MiniC language is put forward for remedying the disadvantages of the traditional compiler. MiniC compiler is implemented by using object-oriented technology, which can show the complicated process of program analysis and the detailed results of analysis, and make abstract compiler principle visible. It plays an important role to understand the compiler principle and improves the system-software developing ability in practical application.

Key words: compiler principle, compiler, object-oriented