Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/justxuewei/compilers

My answers to exercises in Compilers: Principles, Techniques, & Tools (Second Edition).
https://github.com/justxuewei/compilers

Last synced: 21 days ago
JSON representation

My answers to exercises in Compilers: Principles, Techniques, & Tools (Second Edition).

Awesome Lists containing this project

README

        

# Compilers

My answers to exercises in *Compilers: Principles, Techniques, & Tools (Second Edition)*.

## Contents

ch02

- recursive-descent parser (`2.4.1/2.4.1.1.cpp`, `2.4.1/2.4.1.2.cpp`, `2.4.1/2.4.1.3.cpp`)
- postfix parser(`2.5.5`)
- lexer(`2.6`): It can detect real number, word including keyword, like true and false, relation operator, and comment.E
- A class to translate a `for` statement to three address code, TAC for short(`2.8`)