Instead of labeling an arc with an element of
,
we can label arcs with a/x,y where a![]()
,
x![]()
,
and y![]()
*.
Consider the following npda (example 7.2 on page 186 in your textbook).
This npda can be drawn as
Note: the top of the stack is considered to be to the left, so that,
for example, if we get an a from the starting position, the stack changes
from
to
.