RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2022 Volume 34, Issue 5, Pages 77–88 (Mi tisp722)

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

DOI: 10.15514/ISPRAS-2022-34(5)-5



© Steklov Math. Inst. of RAS, 2024