Tiger compiler is a compiler for the tiger language which is described in the book. This project is an attempt to implement tiger compiler in C language.
The skeleton code from tiger site uses makefile to build the application, however, makefile is complex and difficult for me. I rather chooses Premake to build the project.
By using Premake, it is easy to generate and build the project:
- Make sure your OS is Windows 10.
- Make sure your Visual Studio 2019 can compile and build C program.
- Execute
GenerateProjectFiles.bat
to generate Visual Studio solution files. - Open solution and build.