Jump to content

Grammar: Difference between revisions

4 bytes removed ,  2 years ago
m
no edit summary
No edit summary
mNo edit summary
Line 11:
<noun> ::= <term> "[" <Exprs> "]" | "(" <Exprs> ")" | "{" <Exprs> "}" | <Noun>
 
Further, <tt>&lt;Adverb&gt;</tt>, <tt>&lt;Verb&gt;</tt>, and <tt>&lt;Noun&gt;</tt> can be further defined, (with minor variations between dialects), as:
 
<Adverb> ::= "'" | "/" | "\" | "':" | "/:" | "\:"
Line 35:
<Letter> ::= "A" | .. | "Z" | "a" | .. | "z"
 
K can be parsed statically - no knowledge about the runtime values of variables is not required to build a parse tree.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.