top
When, where in 2020
Contact
Dirk Vermeir via email.
top
Theory
The text is available in the file
compilers.pdf.
top
Project
- Flex manual.
A lex tutorial is also available:
flex.ps.gz.
- Bison manual.
A yacc tutorial is also available:
yacc.pdf.
or
yacc.ps.gz.
A small sample input file (from the text) exp.y is
available here. Use the -v option to get
verbose output in exp.output.
- Tutorial on x86 programming
(slides in ODF presentation format).
- Micro example compiler.
- MiniC example parser.
- Tiny the project's target language.
-
More info on linux/unix can be found e.g. in the
``
Unix for beginners'' text which also contains a short tutorial
on make.
top
Exam
Project.
top
Background material
Books on compilers:
-
A. V. Aho, R. Sethi, J. D. Ullman, Compilers. Principles,
Techniques and Tools, Addison-Wesley, 1986.
-
Charles N. Fischer, R. J. LeBlanc, Jr., Crafting a compiler with C,
Addison-Wesley, 1991.