|C++ as implementation language in compiler design crse firstname.lastname@example.org (1994-12-12)|
|C++ as implementation language in compiler design crse email@example.com (1994-12-14)|
|Re: C++ as implementation language in compiler design crse firstname.lastname@example.org (1994-12-15)|
|Re: C++ as implementation language in compiler design crse email@example.com (1994-12-17)|
|Re: C++ as implementation language in compiler design crse firstname.lastname@example.org (1994-12-17)|
|From:||email@example.com (James Larus)|
|Keywords:||courses, OOP, C++|
|Organization:||U of Wisconsin CS Dept|
|Date:||Sat, 17 Dec 1994 14:05:04 GMT|
Background: I've used C++ as the required programming language in my
compiler class for the past 3 or 4 years, even though I had to teach
it as part of the class.
I find that having the students use one language is a major advantage
in teaching. It enables me to put up examples and be sure that
everyone understands them. Also, I can hand out large sections of the
I use a subset of C++ (which I call super-C) that is C with strong
typing and abstract datatypes. Once they become acustomed to it, the
students really like it. I introduce object and inheritence late in
the course when we cover parsing and AST (for which inheritence is
All that is lacking is a good textbook that uses C++ (hint, hint).
I agree with Preston, on the other hand, that a compiler course should
not teach students to COMPILE a particular language.
Computer Sciences Department
University of Wisconsin
1210 West Dayton Street
Madison, WI 53706
Return to the
Search the comp.compilers archives again.