../../../../../Macaulay2/packages/Parsing.m2:94:29-94:121: --source code:
Function % Parser := (fun,p) -> new Parser from ( c -> if (p' := p c) =!= null then if c === null then fun p' else fun % p' )
See also
constParser -- produce a parser that accepts a fixed string, one character at a time
charAnalyzer -- a lexical analyzer that provides characters from a string one at a time
Parser : Analyzer -- combine a parser with a lexical analyzer to make a complete system