Vocabularypeg.
parsersInputsbegin | a parser |
body | a parser |
end | a parser |
OutputsWord descriptionReturns a parser that parses the begin, body, and end parsers in order. The begin and end parsers are hidden.
ExamplesUSING: peg peg.parsers prettyprint ;
"hi123bye" "hi" token integer-parser "bye" token pack parse .
123
See alsosurrounded-byDefinition