simplified grammar
parser for syntax analyzer