Add box parser to docs
parent
86653e7a46
commit
8105e66aec
|
@ -159,4 +159,17 @@ HELP: delay
|
||||||
{ $description
|
{ $description
|
||||||
"Delays the construction of a parser until it is actually required to parse. This "
|
"Delays the construction of a parser until it is actually required to parse. This "
|
||||||
"allows for calling a parser that results in a recursive call to itself. The quotation "
|
"allows for calling a parser that results in a recursive call to itself. The quotation "
|
||||||
"should return the constructed parser." } ;
|
"should return the constructed parser and is called the first time the parser is run."
|
||||||
|
"The compiled result is memoized for future runs. See " { $link box } " for a word "
|
||||||
|
"that calls the quotation at compile time." } ;
|
||||||
|
|
||||||
|
HELP: box
|
||||||
|
{ $values
|
||||||
|
{ "quot" "a quotation" }
|
||||||
|
{ "parser" "a parser" }
|
||||||
|
}
|
||||||
|
{ $description
|
||||||
|
"Delays the construction of a parser until the parser is compiled. The quotation "
|
||||||
|
"should return the constructed parser and is called when the parser is compiled."
|
||||||
|
"The compiled result is memoized for future runs. See " { $link delay } " for a word "
|
||||||
|
"that calls the quotation at runtime." } ;
|
||||||
|
|
Loading…
Reference in New Issue