{"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}
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.