基于JFLAP的《编译原理》可视化教学设计

Decheng Wang, Yan Chen
{"title":"基于JFLAP的《编译原理》可视化教学设计","authors":"Decheng Wang, Yan Chen","doi":"10.1109/ICAIE53562.2021.00083","DOIUrl":null,"url":null,"abstract":"The course of compile principle is characterized by abstract theory and complex algorithm. It is relatively difficult for students to understand, which makes the effect of theoretical teaching poor. Therefore, the visual teaching tool JFLAP is introduced into the theoretical teaching of this course. For the difficulties of students’ feedback, this paper takes SLR (1) parsing as an example. In order to make full use of the visualization function of JFLAP, this paper presents a visual demonstration of the whole process of SLR (1) parsing, including calculation of FIRST set and FOLLOW set, construction of DFA, creation of parsing table and analysis of specific string. Practice shows that the use of JFLAP plays a great role for students to understand and master the compile principle of various algorithms and to improve the quality of classroom teaching.","PeriodicalId":285278,"journal":{"name":"2021 2nd International Conference on Artificial Intelligence and Education (ICAIE)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Visual Teaching Design of Compile Principle Based on JFLAP\",\"authors\":\"Decheng Wang, Yan Chen\",\"doi\":\"10.1109/ICAIE53562.2021.00083\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The course of compile principle is characterized by abstract theory and complex algorithm. It is relatively difficult for students to understand, which makes the effect of theoretical teaching poor. Therefore, the visual teaching tool JFLAP is introduced into the theoretical teaching of this course. For the difficulties of students’ feedback, this paper takes SLR (1) parsing as an example. In order to make full use of the visualization function of JFLAP, this paper presents a visual demonstration of the whole process of SLR (1) parsing, including calculation of FIRST set and FOLLOW set, construction of DFA, creation of parsing table and analysis of specific string. Practice shows that the use of JFLAP plays a great role for students to understand and master the compile principle of various algorithms and to improve the quality of classroom teaching.\",\"PeriodicalId\":285278,\"journal\":{\"name\":\"2021 2nd International Conference on Artificial Intelligence and Education (ICAIE)\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 2nd International Conference on Artificial Intelligence and Education (ICAIE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICAIE53562.2021.00083\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd International Conference on Artificial Intelligence and Education (ICAIE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICAIE53562.2021.00083","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

编译原理的过程具有理论抽象、算法复杂的特点。学生理解难度较大,导致理论教学效果较差。因此,在本课程的理论教学中引入了可视化教学工具JFLAP。针对学生反馈的困难,本文以单反(1)解析为例。为了充分利用JFLAP的可视化功能,本文对SLR(1)解析的整个过程进行了可视化演示,包括FIRST集和FOLLOW集的计算、DFA的构造、解析表的创建和特定字符串的分析。实践表明,JFLAP的使用对学生理解和掌握各种算法的编译原理,提高课堂教学质量起到了很大的作用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Visual Teaching Design of Compile Principle Based on JFLAP
The course of compile principle is characterized by abstract theory and complex algorithm. It is relatively difficult for students to understand, which makes the effect of theoretical teaching poor. Therefore, the visual teaching tool JFLAP is introduced into the theoretical teaching of this course. For the difficulties of students’ feedback, this paper takes SLR (1) parsing as an example. In order to make full use of the visualization function of JFLAP, this paper presents a visual demonstration of the whole process of SLR (1) parsing, including calculation of FIRST set and FOLLOW set, construction of DFA, creation of parsing table and analysis of specific string. Practice shows that the use of JFLAP plays a great role for students to understand and master the compile principle of various algorithms and to improve the quality of classroom teaching.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信