Implementation of abstract LALR parsing (see http://dl.acm.org/citation.cfm?id=2074599 for more details).