An open API service indexing awesome lists of open source software.

https://github.com/glacjay/tiger-c

Compiler practice written in C.
https://github.com/glacjay/tiger-c

Last synced: 7 months ago
JSON representation

Compiler practice written in C.

Awesome Lists containing this project

README

          

Purpose
=======

This project is my practice of the book "Modern Compiler Implementation in C".

Progress
========

Chapter 5 - Program 1: Frames

Augment ``semantic.c`` to allocate locations for local variables, and to keep
track of the nesting level. To keep things simple, assume every variable
escapes.

Implement the ``Translate`` module as ``translate.c``.

If you are compiling for the Sparc, implement the ``SparcFrame`` module
(matching frame.h) as ``frame-sparc.c``. If compiling for the MIPS, implement
MipsFrame, and so on.