Add license; fix shift-reduce error messages
LALR parser implementation