
Part I: Regular Languages, Regular Expressions, and Finite Automata:
|
For a small amount of extra credit, design the machine so that the dollar-value part does not accept leading zeroes.
Part II: Context-Free Grammars and SLR(1) Parsing:
To show the stack history, just cross out the elements on the stack as they are popped, but leave them there so that they can be read. That is, I just want a record of the order things were pushed on the stack.
This page copyright ©1998 by Joshua S. Hodas. Last rebuilt on Wed, October 27, 1999 at 1:32:20 PM. | |
http://cs.hmc.edu/~hodas/courses/cs131/homeworks/homework01.html | |