/TigerCompiler

Implementation and Exercises in Modern Compiler Implementation in C.

Primary LanguageCMIT LicenseMIT

Tiger Compiler

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.

book

Build

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:

  1. Make sure your OS is Windows 10.
  2. Make sure your Visual Studio 2019 can compile and build C program.
  3. Execute GenerateProjectFiles.bat to generate Visual Studio solution files.
  4. Open solution and build.