【24h】

A compiler for teaching about compilers

机译:用于讲解编译器的编译器

获取原文

摘要

Projects in which students write a small compiler are common in compiler design courses, but even a small compiler can be daunting to students with no prior compiler-writing experience. When I recently taught compiler design, I developed a very small language with a highly modular compiler, focusing the project on implementing the core parts of a compiler without requiring students to build all the infrastructure from scratch. This paper describes the language and its compiler, and their successes (and occasional limitations) for teaching compiler design.
机译:学生编写小型编译器的项目在编译器设计课程中很常见,但是即使没有小型编译器,也可能对没有事先编写过编译器经验的学生而言令人生畏。最近,我教编译器设计时,我使用高度模块化的编译器开发了一种非常小的语言,使该项目专注于实现编译器的核心部分,而无需学生从头开始构建所有基础结构。本文介绍了该语言及其编译器,以及它们在教授编译器设计方面的成功(以及偶尔的局限性)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号