Skip to main content
Have a personal or library account? Click to login
Visualization of Context-Free Grammar Analysis Algorithms Cover
Read online

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.

DOI: https://doi.org/10.2478/aei-2026-0018 | Journal eISSN: 1338-3957 | Journal ISSN: 1335-8243
Language: English
Page range: 58 - 66
Submitted on: Oct 31, 2025
Accepted on: Mar 23, 2026
Published online: Nov 26, 2026
Published in print: Sep 1, 2026
Published by: Technical University of Košice
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 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.