↓ Skip to main content

Parser-Generator

LR-Parsing in Go

LR-Parsing in Go

Conventional parser generator do not handle ambiguous grammars well. Especially for ad-hoc DSLs, however, grammar ambiguity is quite common. GoRGO implements two types of bottom-up parsers to deal with ambiguity: Earley parsing and GLR-parsing.