hanxinle / TigerCompiler

Implementation and Exercises in Modern Compiler Implementation in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Implementation and Exercises in Modern Compiler Implementation in C.

License:MIT License


Languages

Language:C 95.8%Language:Lex 3.4%Language:Lua 0.8%Language:Batchfile 0.0%