Abstract
dc:descriptionThis paper presents the development and evaluation of a transpiler for improved AL programming language (Alic) that employs tree-sitter parser. Based on the written transpiler Alic, the distinguishing features of tree-sitter parser for improved programming language compiler are presented and it is described how the tree-sitter parser can be used to write an improved language compiler. A study is conducted which shows that it is better to check the subtype of a node in tree-sitter parser than in the compiler. Finally, the speed of the developed compiler Alic is compared with other improved language compilers. The compilers are tested to see how their runtime changes as the number of lines translated increases. It is found that the Alic compiler significantly outperforms the other improved programming language compilers in this respect. It follows, that, in terms of speed, an improved programming language compiler using the tree-sitter parser can be superior to compilers that are not using the tree-sitter parser.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Lapinskas, Ramojus,
Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- lit
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD210646524&prefLang=en_US