过程可视化编译器的设计与应用
Design and Application of a Process-Visible Compiler
DOI: 10.12677/SEA.2015.45012, PDF, HTML, XML, 下载: 2,540  浏览: 8,200 
作者: 林涵菲, 陈希文, 梁雨霏, 琚小明:华东师范大学Sophia实验室,上海
关键词: 编译器过程可视化运行机理教学辅助Compiler Process-Visible Operation Mechanism Teaching-Assistant
摘要: 针对编译原理课程中算法种类繁多、算法难度大、学生基础层次不统一、理解能力不一致的现状,如何让学生学习和掌握编译课程的算法与编译运行机制是教学过程中急待解决的问题。本文设计开发了一套基于教学辅助的可视化编译器,该编译器实现了C语言子集的编译功能,并将编译过程中的关键算法原理和运行机理通过图、表等方式实时、动态地展示在界面上。该编译器作为教学辅助软件,有助于学生快速、高效、清晰地理解编译原理算法,提高学生对编译原理课程的理解和兴趣。
Abstract: The course of Compiling Principles has always been difficult for students to understand, for the related algorithms are quite abundant and complex, and not all students possess the ability to comprehend those algorithms easily. In order to facilitate the learning of compiling techniques, we have designed a special compiler which displays the whole process of compiling for observing, and it’s suitable to assist teaching work. Based on the subset of C grammar, this compiler can dynamically show the executing process of compiling algorithms and operation mechanism with abundant graphs and messages. As an assistant tool for teaching, not only does it contribute to the quick, efficient understanding of compiling principles, but it also adds some fun to the course.
文章引用:林涵菲, 陈希文, 梁雨霏, 琚小明. 过程可视化编译器的设计与应用[J]. 软件工程与应用, 2015, 4(5): 89-95. http://dx.doi.org/10.12677/SEA.2015.45012

参考文献

[1] 但静培, 渡边坦 (2002) 基于编译技术的程序可视化. 计算机应用研究, 10, 51-52, 70.
[2] 李显 (2011) 编译过程可视化的研究与实现. 河北工业大学, 河北, 1-65.
[3] 佚名 (2012) 编译原理经典算法的可视化实现. 长沙理工大学, 长沙, 1-47.
[4] 赵丽, 齐兴斌, 李雪梅 (2012) 基于编译技术的可视化计算系统设计. 电脑编程技巧与维护, 18, 95-96.
[5] 王涛 (2015) 编译原理LL(1)语法分析的可视化教学方法. 新教育时代底子杂志(教师版), 6, 78-79.
[6] 许智宏, 李显, 高静静 (2012) 高级语言编译过程可视化研究. 教育教学论坛, 10, 30-31.
[7] 蒋秀锋, 任志雄 (2010) 可视编译器的设计与实现. 计算机与现代化, 10, 63-67.
[8] Aho, A.V., Lam, M.S., Sethi, R. and Ullman, J.D. (1985) Compilers: Principles, techniques, and tools.人民邮电出版社, 北京, 18-112.