«
module documentation

Undocumented

Class ShiftReduceParser A simple bottom-up CFG parser that uses two operations, "shift" and "reduce", to find a single parse for a text.
Class SteppingShiftReduceParser A ShiftReduceParser that allows you to setp through the parsing process, performing a single operation at a time. It also allows you to change the parser's grammar midway through parsing a text.
Function demo A demonstration of the shift-reduce parser.
def demo(): (source)

A demonstration of the shift-reduce parser.