1 USING: peg.ebnf help.syntax help.markup strings ;
5 { $syntax "ON-BNF: word ... ;ON-BNF" }
6 { $description "Creates a parsing word using a parser for lexer control, adding the resulting ast to the stack. Parser syntax is as in " { $link POSTPONE: EBNF: } } ;
9 { $values { "name" string } { "parser" parser } }
10 { $description "Runtime equivalent of " { $link POSTPONE: ON-BNF: } " also useful with manually constructed parsers." } ;
13 { $values { "input" string } { "ast" "a sequence of tokens" } }
14 { $description "Tokenizer that acts like standard factor lexer, separating tokens by whitespace." } ;