Natrix Compiler and Interpreter

This project was developed for the Language Processing course of the Computer Engineering course at the University of Beira Interior.

The project consisted of developing a compiler and interpreter in Ocaml, using the Ocamllex module as the lexer and Menhir as the parser. A typing system was written to ensure the correct use of the types and the declaration of all identifiers.

The choosed assembly code generated by the compiler was the AT&T x86-64.

During the development of this project was writted a simple documentation with all the functionalities of the Natrix language.