Institutional Repository of Vilnius University
Dependently typed programming language translation to go programming language /
Abstract
dc:descriptionThis paper analyzes the translation of programming language with dependent types (Agda) to other programming languages and describes implemented improvements to the existing Agda to Go translator. The theoretical part of the work compares the main ideas and use cases of Go and Agda programming languages, describes the translators included in the latest version of Agda (2.6.2.2). The Agda compilation process is analyzed, and the structure of the main modules that make up the Agda compiler is described. The practical part includes the details of work done to simplify the existing compiler’s code and operation, steps for solving the problems of the existing compiler (debugging, compilation output directory). The paper describes implemented translator improvements – type inference, correction of specific Agda language constructs compilation and improvements for the logic of compiling modules. Also, details of the development environment setup for the continuation of Agda to Go compiler development are included. The obtained results show that the created translator is able to recognize primitive Agda types and generate valid and running Go functions from Agda code.
Degree
thesis:*- Grantor dc:publisher
- Institutional Repository of Vilnius University
- Year dc:date
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Jurgelevičius, Gintautas,
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- eng
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD146236138&prefLang=en_US