SYNOPSIS

This example illustrates a way to set a naming scheme for the grammar productions.

Compile it with:

$ eyapp -C GiveNamesToCalc.eyp 

and execute it with:

$ ./GiveNamesToCalc.pm -t -i -c 'a=2*3'

It will produce an output like:

line_is_exp(var_is_VAR[a],exp_is_TIMES(exp_is_NUM[2],exp_is_NUM[3]))