[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
Misc:
[2001S]
[2002F]
[SamR]
Assigned: Friday, 2 April 2004
Due: Friday, 16 April 2004
Summary: In this stage of the project, you will design and build a type checker for your Pascal compiler.
Group Work: You should work with the same group that you worked with for the parser.
Preparation:
rebelsky.compiler.types
library for the type objects you can put in your symbol table.
SymbolTable.java
, a simple symbol table implementation. You will most likely need only setType
, getType
, beginScope
, and endScope
.
Write a type checker that traverses parse trees for Pascal problems and
Friday, 1 November 2002 [Samuel A. Rebelsky]
Friday, 8 November 2002 [Samuel A. Rebelsky]
Thursday, 1 April 2004 [Samuel A. Rebelsky]
rebelsky.compiler.types
.
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
Misc:
[2001S]
[2002F]
[SamR]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Mon Apr 26 13:19:34 2004.
The source to the document was last modified on Sun Apr 11 20:07:24 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2004S/Project/type-checker.html
.
You may wish to
validate this document's HTML
;
;
Check with Bobby