SYNOPSIS
Compile it with:
eyapp -b '' Tieins.eyp
Run it with:
./Tieins.pm -t -f inputforsemanticinfo.txt
try also:
./Tieins.pm -t -f inputforsemanticinfo2.txt
THIS EXAMPLE
In this "Calc"-like example we have a language with a special construct hex (hex-expr). After the keyword hex comes an expression in parentheses in which all integers are hexadecimal. In particular, strings in /[A-F0-9]+/ like A1B must be treated as an hex integer unless they were previously declared.