https://github.com/justxuewei/compilers
My answers to exercises in Compilers: Principles, Techniques, & Tools (Second Edition).
https://github.com/justxuewei/compilers
Last synced: 5 months ago
JSON representation
My answers to exercises in Compilers: Principles, Techniques, & Tools (Second Edition).
- Host: GitHub
- URL: https://github.com/justxuewei/compilers
- Owner: justxuewei
- Created: 2020-05-16T03:11:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T10:00:10.000Z (about 5 years ago)
- Last Synced: 2025-01-03T09:26:39.296Z (6 months ago)
- Language: Java
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`)