Learn about the Other Side



next up previous
Next: Modify the Language Up: Assignment 2: Syntax Previous: Evaluate Cadaver Syntax

Learn about the Other Side

If we had the time, I would ask each of you whose cadaver has a table-driven parser to rewrite the parser in recursive descent and vice-versa. To attempt to provide the same experience, choose a partner in the class whose cadaver uses the opposite technology from yours (i.e. if your parser is hand written, team up with someone whose parser is table-driven). Review with your partner his or her answers to part I of the assignment. (You can also provide feedback on what that person proposes to hand in!) Write a brief summary contrasting the pros and cons of how syntax analysis is done in your compiler with how it is done in your partner's.

I strongly suggest that you answer part 1 (and perhaps part 3) in advance of the normal class meeting on the 26th, and use that time to meet with your partner.



Reader Cs
Wed Sep 20 14:25:53 PDT 1995