ComVIS—Interactive simulation environment for compiler learning

Simulation‐based learning tools have become commonly used at all levels of education. They are recognized as an effective means of studying complex and systems. In traditional teaching of compiler concepts, students are incapable of visualizing theoretical constructions, while the use of simulation...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Computer applications in engineering education 2022-01, Vol.30 (1), p.275-291, Article cae.22456
Hauptverfasser: Jovanović, Nenad, Stamenković, Srećko, Miljković, Dragiša, Chakraborty, Pinaki
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Simulation‐based learning tools have become commonly used at all levels of education. They are recognized as an effective means of studying complex and 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.
ISSN:1061-3773
1099-0542
DOI:10.1002/cae.22456