meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
new_syntax_summary [2020/07/20 21:24] – [A list of lexical specifications, a.k.a. Token Productions can be written without the curly braces.] revusky | new_syntax_summary [2020/09/26 23:43] – [New "up to here" syntax] revusky | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
The following is a summary of the newer streamlined syntax that was recently [[https:// | The following is a summary of the newer streamlined syntax that was recently [[https:// | ||
Line 5: | Line 5: | ||
I anticipate that there will soon be a utility available that automatically converts the legacy syntax to the streamlined syntax. In any case, there is no need to manually convert all of your code to the more streamlined syntax, since all the legacy syntax continues to work. Moreover, the two syntaxes can co-exist perfectly well in the same file. | I anticipate that there will soon be a utility available that automatically converts the legacy syntax to the streamlined syntax. In any case, there is no need to manually convert all of your code to the more streamlined syntax, since all the legacy syntax continues to work. Moreover, the two syntaxes can co-exist perfectly well in the same file. | ||
- | This page does not describe the new '' | ||
===== Nonterminals ===== | ===== Nonterminals ===== | ||
Line 125: | Line 124: | ||
< | < | ||
| | ||
- | | + | |
| | ||
| | ||
Line 133: | Line 132: | ||
public List< | public List< | ||
| | ||
- | public void setFoos() {this.foos = foos;} | + | public void setFoos(List< |
} | } | ||
Line 141: | Line 140: | ||
===== New SCAN construct which replaces LOOKAHEAD ===== | ===== New SCAN construct which replaces LOOKAHEAD ===== | ||
- | This will be detailed | + | The new '' |
+ | |||
+ | ===== New "up to here" syntax ===== | ||
+ | |||
+ | The [[up to here]] syntax provides a way to specify [[choice points|lookahead]] | ||