Visualization of Context-Free Grammar Analysis Algorithms
Abstract
This article presents interactive support as a software tool for teaching the basics and formal analysis of context-free grammars. The presented tool allows to visualize the step-by-step calculation of analytical sets of grammars, which leads to the construction of a parsing table. Many times, these procedures are considered difficult to process manually by students, but they are necessary for the practical construction of compilers. Our analytical tool in the derivation process allows to highlight the currently executed step of the algorithm that constructs analytical sets, and at the same time display the gradually calculated results, which interactively provides to follow the entire calculation process. To make the user experience and the entire work process more pleasant, the software is designed as a web application, which ensures convenient access in the pedagogical process and during self-study, or when solving simple practical tasks.
© 2026 Samuel Novotný, Monika Kohútová, William Steingartner, Ján Perháč, Daniil Dryzhov, published by Technical University of Košice
This work is licensed under the Creative Commons Attribution 4.0 License.
