期刊文献+

面向教学的类C编译器的设计与实现 被引量:2

Design and Implemention of a Teaching-oriented C-like Compiler
下载PDF
导出
摘要 设计并实现了一个面向教学的类C编译器,支持全局或局部变量的定义、函数参数传递和函数递归调用.为避免对实际硬件体系结构的依赖,采用了Java语言的设计思想,类C编译器实现了先编译后解释执行的设计方案,同时给出了比文法更为直观的类C语言的语法图. Designing and implementing a teaching-oriented C-like compiler, which supports the definition of local and global variables, function parameters, as well as reeursive call of functions. To avoid the dependency of hardware architecture, using the design thinking of Java language, which compiles programs into mediate language and then interprets it. C-like language's grammar diagram is shown, which is much more intuitive than pure grammar.
作者 邹昌伟
出处 《福建师范大学学报(自然科学版)》 CAS CSCD 北大核心 2008年第6期29-33,共5页 Journal of Fujian Normal University:Natural Science Edition
关键词 编译器 面向教学 类C语言 compiler teaching-oriented C-like language
  • 相关文献

参考文献2

  • 1Chris Fraser, David Hanson.可变目标C编译器[M].王挺,译.北京:电子工业出版社,2005.
  • 2张素琴,吕映芝,将维杜,等.编译原理[M].北京:清华大学出版社,2005:155-156.

共引文献12

同被引文献19

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部