Implementation of Appel's tiger language in Standard ML. Made as final project for Compilers subject in Computer Science at National University of Rosario (UNR). Also contributed to this work Natalia Eyherabide (@enati) and Alejo Rios (@alejolcc).
Built for x86 architecture. It uses GCC compiler as linker.
- MosML >= 2.10.1
- g++-multilib >= 4:8.3.0-1
- gcc >= 8.3.0
To build the compiler, simply run:
make
Built executable (tigerc) along with runtime object (runtime.o) will be located in bin/
.
./tigerc [-arbol] [-asm] FILE.tig
Where:
- -arbol: Prints AST.
- -asm: Outputs assembler source code only.