SYNOPSIS

This grammar deals with the famous ambiguous PL/I phrase:

if then=if then if=then

The (partial) solution uses YYExpect in the lexical analyzer to predict the token that fulfills the parser expectatives.

Compile it with:

eyapp -b '' PL_I_conflict.eyp

Run it with;

./PL_I_conflict.pm -t

or

./PL_I_conflict.pm -d -t