Shorthands on top of Shorthands
l
The productions are:
l
A
¨
V
l
A
¨
V + A
l
Group
by common left-hand sides
l
Use | (read ÒorÓ) to represent alternatives:
l
A
¨
V
|
V + A
l
V
¨
a
|
b
|
c
l
Note: | Òbinds more looselyÓ than other symbols.
l
Same grammar, just a briefer notation.
l
V
¨
a
l
V
¨
b
l
V
¨
c