|
Library for development of compilers
S. V. Mironov, I. A. Batraeva, P. D. Dunaev Saratov State University
Abstract:
This work is devoted to the development of a library designed to implement compilers. The article contains a description of the library's features and the main points of its functioning. In the course of the work, the generation of parsers using LR(1)-automata was studied and implemented, two auxiliary languages were designed and implemented: a semantic network query language and a language designed to generate executable code. The result of the work is a library for the platform .NET (the library was tested for the C# language), which contains classes that make easier the implementation of source code parsing, semantic analysis, and executable file generation. This library does not have external dependencies, except for the standard .NET library.
Keywords:
library, compiler, parsers generation, code generation, .NET
Citation:
S. V. Mironov, I. A. Batraeva, P. D. Dunaev, “Library for development of compilers”, Proceedings of ISP RAS, 34:5 (2022), 77–88
Linking options:
https://www.mathnet.ru/eng/tisp722 https://www.mathnet.ru/eng/tisp/v34/i5/p77
|
Statistics & downloads: |
Abstract page: | 11 | Full-text PDF : | 6 |
|