previous | index | next

An Action Table With Parentheses

Note:
  1. Columns for $ and ) are identical (except shift instead of accept)

  2. Columns for num and ( are identical.

  3. Rows for $ and ( and op are identical.

  4. Mismatched parenthesis errors fall into two categories:

    Stack Rest of Expression Error Condition
    $ N ) ... $ Unmatched Right Paren
    $ ( N $ Unmatched Left Paren


previous | index | next