Perl extension for generating and using LALR parsers