nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
2025, 07, No.367 259-266
层次递进式编译课程实践体系构建与实践
基金项目(Foundation): 教育部编译课程虚拟教研室教学改革项目“希冀平台编译课程在线资源建设项目”(2023-005)
邮箱(Email): luanhua@bnu.edu.cn;
DOI: 10.16512/j.cnki.jsjjy.2025.07.006
摘要:

针对编译器各个模块接续依赖、自动测试困难,不利于学生学习编译器整体结构和流程的问题,提出一种层次递进式编译课程实验框架,以全国编译大赛中采用的SysY语言作为输入,按照从简到繁、从易到难的思路以及语言、算法和实现3个维度的层次化递进式扩展,阐述从初代编译器到复杂编译器的构建思路和设计方法,介绍基于在线教学平台的教学实践,最后说明教学效果。

Abstract:

This paper proposes a hierarchical and progressive experimental framework for compiler courses to address the challenges of sequential dependencies among compiler modules and difficulties in automated testing,which hinder students' understanding of the overall structure and workflow of compilers.Using the SysY language adopted in the national compiler contest as input,the framework guides learners through compiler construction from a primitive compiler to a sophisticated one,with hierarchical and progressive extensions across three dimensions:language features,algorithms,and implementation techniques.We elaborate on the evolutionary construction and design methodology from the first-generation compiler to complex compilers,introduce teaching practices based on an online education platform,and finally demonstrate the teaching effectiveness.

基本信息:

DOI:10.16512/j.cnki.jsjjy.2025.07.006

中图分类号:TP314-4;G642.3

引用信息:

[1]计卫星,王贵珍,栾华,等.层次递进式编译课程实践体系构建与实践[J].计算机教育,2025,No.367(07):259-266.DOI:10.16512/j.cnki.jsjjy.2025.07.006.

基金信息:

教育部编译课程虚拟教研室教学改革项目“希冀平台编译课程在线资源建设项目”(2023-005)

投稿时间:

2024-08-10

投稿日期(年):

2024

终审时间:

2024-10-09

终审日期(年):

2024

审稿周期(年):

1

发布时间:

2025-07-10

出版时间:

2025-07-10

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文