Back to Search
Start Over
ComVIS—Interactive simulation environment for compiler learning.
- Source :
- Computer Applications in Engineering Education; Jan2022, Vol. 30 Issue 1, p275-291, 17p
- Publication Year :
- 2022
-
Abstract
- Simulation‐based learning tools have become commonly used at all levels of education. They are recognized as an effective means of studying complex and abstract systems. In traditional teaching of compiler concepts, students are incapable of visualizing theoretical constructions, while the use of simulation systems represents an excellent blend of theoretical and practical experience. This paper describes a software system for visualization and simulation of basic compiler concepts and algorithms. The simulation tool enables students to visualize the operation of finite automata, convert a regular expression into deterministic finite automata (DFA) or nondeterministic finite automata, and simulate Thompson's construction algorithm. The process of constructing the LL(0) and LR(1) parsing tables is represented as a step‐by‐step simulation, with the user receives feedback on the correctness of each step before moving on to the next. The system is capable of calculating the FIRST and FOLLOW sets, graphically representing DFA, and constructing the corresponding parsing table. This tool provides a module for visualizing the process of machine code generation. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 10613773
- Volume :
- 30
- Issue :
- 1
- Database :
- Complementary Index
- Journal :
- Computer Applications in Engineering Education
- Publication Type :
- Academic Journal
- Accession number :
- 154690002
- Full Text :
- https://doi.org/10.1002/cae.22456