Compile the grammar and tree transformations first:
$ eyapp Rule5 $ treereg Shift
Then execute it with:
$ ./useruleandshift.pl
Try inputs:
a = b * 8 d = c * 16
To install Parse::Eyapp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::Eyapp
CPAN shell
perl -MCPAN -e shell install Parse::Eyapp
For more information on module installation, please visit the detailed CPAN module installation guide.