Luleå
University of Technology
Compiler Technology SMD002 (Kompilatorteknik)
also an unofficial crash-course in "C" application programming
lp2 1998 (modul @)
- Responsible for the course:
- Email Address:
- Teacher: Norman Jantz
- Help teacher: Fredrik Tomasson
- Examiner: Anders Hansson
Preliminaries
This course is taught every other year, alternating with the course in
Computer Architecture.
In this course, the relationship
between Compiler Technology and modern Computer Architecture will be
given particular emphasis.
There is an emphasis on laboratory work and self-study.
However there should be additional lectures covering more "back-end"
compiler issues than before, and the language to be implemented was,
and will remain, a subset of C rather than a MODULA-type language.
Furthermore, each group is to build their
entire compiler
"from scratch,"
without any modules preconstructed by the instructor.
You are to code your lab work in standard C, an
important language used throughout Computer Engineering.
For those of you who don't know C (yet), we will try to arrange a few
tutorial sessions to help you get started.
Course Information
NOTE: These pages will be under constant change before and
during the course! Please contact me if you find anything missing,
incorrect facts, misspelled etc.
Course Texts and Materials
- Aho, Sethi, Ullman: Compilers: Principles, Techniques and
Tools; 2nd edition, Addison-Wesley 1986. ISBN 0-201-10194-7.
- Kernighan, Ritchie: The C Programming Language;
2nd edition (ANSI C), Prentice-Hall 1988. ISBN 0-13-110362-8.
- (do you still have this one from Datorteknik ?)
LSI Logic: LR33300 and LR33310 Self-Embedding Processors
User's Manual; LSI Logic Corporation 1993, Order No.J14028
- an example C program using Makefile,
Bison and Flex.
- a second example with multiple parsers and
scanners.
- how to print WWW documents to paper
- how to print "pdf" documents to paper
- user-summaries for Flex and
Bison from "man" pages
- full document for Flex from "man flexdoc"
- full document for Bison (120 pages),
also half-sized (53 pages), both in postscript.
- the SOLL simulator, our MIPS target machine.
- previous years' final exams.
Emacs Manual (For groups that want to know more about Version Control!)
Course Assignments
Last modified 1998-12-11