peg-lexer: fix help lint

db4
Slava Pestov 2009-03-16 03:29:16 -05:00
parent f1197fe327
commit cac26d7b44
1 changed files with 2 additions and 2 deletions

View File

@ -1,14 +1,14 @@
USING: peg.ebnf help.syntax help.markup strings ;
IN: peg-lexer
ABOUT: "peg-lexer"
HELP: ON-BNF:
{ $syntax "ON-BNF: word ... ;ON-BNF" }
{ $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: } } ;
HELP: create-bnf
{ $values { "word" string } { "parser" parser } }
{ $values { "name" string } { "parser" parser } }
{ $description "Runtime equivalent of " { $link POSTPONE: ON-BNF: } " also useful with manually constructed parsers." } ;
HELP: factor
{ $values { "input" string } { "ast" "a sequence of tokens" } }
{ $description "Tokenizer that acts like standard factor lexer, separating tokens by whitespace." } ;