INTEGRATING LARGE LANGUAGE MODELS INTO A FORMAL LANGUAGE LEARNING PLATFORM

The article investigates the possibility of integrating large language models into an educational platform for formal languages. Recent publications in the field of teaching formal languages are analyzed, and the main directions of these studies are identified: the characteristics of automated generation tools, the representation of formal language grammars, and natural language processing. The feasibility of using left-to-right parsing with leftmost derivation (LL) in teaching students in the field of information technology is described. The specific features of this parsing method are investigated, and its components, namely the FIRST and FOLLOW sets and the parsing table, are described. The specific features of using Backus-Naur Form (BNF) as a notation for the formal description of grammars are investigated. An architectural model of an information system for multilevel validation of grammars represented in BNF is proposed, which involves sequential lexical and syntactic analysis followed by the use of a large language model. For the initial processing of input rules, the use of a lexical analyzer developed in Python using regular expressions and a syntax analyzer based on the LL(1) method is proposed. A grammar defining the structure of BNF input is described. The possibility of using the proposed architecture to process a domainspecific programming language-relational algebra - is demonstrated. An example of processing the syntax of operators of the aforementioned formal language is provided. The possibility of integrating the Gemini 3 Flash Preview model via the Gemini API to analyze grammars after their preliminary validation by lexical and syntactic analyzers is considered. The possibility of using a large language model to provide explanations of errors and generate recommendations for correcting production rules is considered. The possibility of obtaining processing results in JSON format suitable for subsequent use by other software tools is demonstrated. Prospects for extending the platform with machine learning tools for error classification and the analysis of learning difficulties are identified. It is noted that LLM-generated recommendations require additional verification and cannot fully replace an instructor.

Authors

Institutions

Publication Details

Journal
Middle European Scientific Bulletin
Published
2026-11-28
DOI
https://doi.org/10.65237/2336-3630-2026-11(2)-12
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

INTEGRATING LARGE LANGUAGE MODELS INTO A FORMAL LANGUAGE LEARNING PLATFORM

Mykola T. Fisun, Ihor Kandyba
Middle European Scientific Bulletin
Natural Language Processing Techniques
article

INTEGRATING LARGE LANGUAGE MODELS INTO A FORMAL LANGUAGE LEARNING PLATFORM

Mykola T. Fisun, Ihor Kandyba
article en

Abstract

The article investigates the possibility of integrating large language models into an educational platform for formal languages. Recent publications in the field of teaching formal languages are analyzed, and the main directions of these studies are identified: the characteristics of automated generation tools, the representation of formal language grammars, and natural language processing. The feasibility of using left-to-right parsing with leftmost derivation (LL) in teaching students in the field of information technology is described. The specific features of this parsing method are investigated, and its components, namely the FIRST and FOLLOW sets and the parsing table, are described. The specific features of using Backus-Naur Form (BNF) as a notation for the formal description of grammars are investigated. An architectural model of an information system for multilevel validation of grammars represented in BNF is proposed, which involves sequential lexical and syntactic analysis followed by the use of a large language model. For the initial processing of input rules, the use of a lexical analyzer developed in Python using regular expressions and a syntax analyzer based on the LL(1) method is proposed. A grammar defining the structure of BNF input is described. The possibility of using the proposed architecture to process a domainspecific programming language-relational algebra - is demonstrated. An example of processing the syntax of operators of the aforementioned formal language is provided. The possibility of integrating the Gemini 3 Flash Preview model via the Gemini API to analyze grammars after their preliminary validation by lexical and syntactic analyzers is considered. The possibility of using a large language model to provide explanations of errors and generate recommendations for correcting production rules is considered. The possibility of obtaining processing results in JSON format suitable for subsequent use by other software tools is demonstrated. Prospects for extending the platform with machine learning tools for error classification and the analysis of learning difficulties are identified. It is noted that LLM-generated recommendations require additional verification and cannot fully replace an instructor.

Middle European Scientific BulletinVol. 2(11)
Petro Mohyla Black Sea National University (UA)
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon