Sequential composition ignoring right side.
Sequential composition with no back-tracking back past this point and ignoring right side.
Optional parsing.
Apply function to successful result.
Turn a successful result into a specific value which is evaluated each each time this parser is used.
Alternative entry point to directly parse a string.
Parameterise next parse step by result from previous one.
Alternation.
Sequential composition.
Sequential composition with no back-tracking back past this point.
Sequential composition with no back-tracking back past this point.
Modelled on same operator in FastParse and ~!
in Scala parser
combinators.
Sequential composition with no back-tracking back past this point and ignoring left side.
Sequential composition ignoring left side.
A parser is a function from a string to a parser result. This kind of parser cannot handle left recursive alternatives and does not memoise its results so it may repeat work. If those properties are desired use the
PackratParser
type instead.