CSCI 310 Spring 2005 Day 19

  1. Administrivia
    1. Project 3 questions
    2. Project 3 demo scheduling

  2. A note on process here:
  3. Building Symbol tables
    1. Which pieces in the grammar do we care about in this phase? [Round Robin]

    2. Draw a rough AST for the program we're using as an example. [Think-Pair-Share]

    3. What data structure, if any, do you need to store information on a variable? What's in it? [Think-Pair-Share]

    4. 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.]

    5. 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.]

    6. [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