SYNOPSIS
See section 'SOLVING CONFLICTS WITH THE POSTPONED CONFLICT STRATEGY' in http://search.cpan.org/perldoc?Parse::Eyapp::debuggingtut
This example contains the same grammar than
DynamicallyChangingTheParser.eyp
but there are no conflicts. The right recursive production
ds:
D ';' ds
| D
;
has been changed to a leftrecursive production to avoid the conflict:
ds:
ds ';' D
| D
;
Be sure DebugTail.pm is reachable compile it with
eyapp -b '' DynamicallyChangingTheParser3.eyp
execute the generated modulino with the option -t:
./DynamicallyChangingTheParser3.pm -t
See also the examples in:
DynamicallyChangingTheParser.eyp Debug.eyp Debug1.eyp Debug2.eyp and DebugLookForward.eyp