CSCI 310 Spring 2005 Day 19
- Administrivia
- Project 3 questions
- Project 3 demo scheduling
- A note on process here:
- helping everyone get a concrete feel for what they're
doing and writing was a particular trick last year so
these exercises are designed to force you into bridging
the theoretical and concrete.
- Think-Pair-Share means you first try it on your own,
then share it with one or two other people, then present
to the whole group.
- Round-Robin means you rotate turns, one item written
per turn. If you disagree with what was written
previously, use your turn to annotate why you disagree.
This must be written because this forces us to
put our thoughts in order as much as possible. You
must write something on your turn, even if it is
a question or statement about where you are stuck.
- Building Symbol tables
- Which pieces in the grammar do we care about in this
phase? [Round Robin]
- Draw a rough AST for the program we're using as an
example. [Think-Pair-Share]
- What data structure, if any, do you need to store
information on a variable? What's in it?
[Think-Pair-Share]
- What data structure, if any, do you need to store
information on a method? What's in it? [Round-Robin on
what we store in the method's data structure.]
- What data structure, if any, do you need to store
information on a class? What's in it? [Round-Robin on
what we store in the class data structure.]
- [Round-Robin] Thinking as a Visitor, and considering each of the
pieces of the grammar we decided we care about, what
should happen
- on arrival to that node?
- after the recursive traversal of the tree below
this node?
Gary Lewandowski
Last modified: Wed Mar 2 12:24:07 EST 2005