THis project is a simple compiler designed for educational purposes. It demonstrates the concepts of compilation and aims to provide a foundation for understanding how compilers work and to serve as a basis for further experimentation and learning.
To install it, you'll need to have Go installed on your machine. Clone the repository and build the project with the following commands:
git clone https://github.com/dinizgab/toy_compiler.git
cd toy_compiler
go build
It's pretty simple to use, you just need to run this line of code:
./toy_compiler --filename data/test.lmn
Or you can replace the filename for a path of a file with that you want