Compiler developed in Rust for the Compilers subject at Federal University of ABC, given by professor Francisco Isidro Massetto in the second quarter of 2019.
This project was developed on rustc 1.35.0 (3c235d560 2019-05-20)
Create a transpiler for a fictional language to C language by implementing the features described in milestone v1.0.
To install Rust, the recommended way is using rustup, a toolchain installer that enables you to switch between different version of the compiler.
Linux or another Unix-like OS:
curl https://sh.rustup.rs -sSf | sh
There is some files in examples folder showing the language basic syntax.
cargo run <path_to_file>
The transpiled source code will be printed at the scren and it will be saved a file named out.c
.
This project is under the MIT License - see the LICENSE file for details.