OLD | NEW |
1 \documentclass{article} | 1 \documentclass{article} |
2 \usepackage{epsfig} | 2 \usepackage{epsfig} |
3 \usepackage{color} | 3 \usepackage{color} |
4 \usepackage{dart} | 4 \usepackage{dart} |
5 \usepackage{bnf} | 5 \usepackage{bnf} |
6 \usepackage{hyperref} | 6 \usepackage{hyperref} |
7 \usepackage{lmodern} | 7 \usepackage{lmodern} |
8 \usepackage[T1]{fontenc} | 8 \usepackage[T1]{fontenc} |
9 \newcommand{\code}[1]{{\sf #1}} | 9 \newcommand{\code}[1]{{\sf #1}} |
10 \title{Dart Programming Language Specification \\ | 10 \title{Dart Programming Language Specification \\ |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 \~{}NotAThing; | 148 \~{}NotAThing; |
149 A\_LEXICAL\_THING | 149 A\_LEXICAL\_THING |
150 . | 150 . |
151 } | 151 } |
152 \end{grammar} | 152 \end{grammar} |
153 | 153 |
154 % need a match anything or a production that does that, so we can correct bugs w
rt use | 154 % need a match anything or a production that does that, so we can correct bugs w
rt use |
155 % ~. ~ does not actually parse stuff - it just looks ahead and checks. To get th
e effect of | 155 % ~. ~ does not actually parse stuff - it just looks ahead and checks. To get th
e effect of |
156 % parsing anything but X, one needs ~X ANYTHING, not just ~X. There are bugs in
the | 156 % parsing anything but X, one needs ~X ANYTHING, not just ~X. There are bugs in
the |
157 % grammar related to this. | 157 % grammar related to this. |
158 % The alternative is to define ~X as anything but X, or to introduce an anthingB
ut(X) | 158 % The alternative is to define ~X as anything but X, or to introduce an anything
But(X) |
159 % combinator, such as !X | 159 % combinator, such as !X |
160 | 160 |
161 \LMHash{} | 161 \LMHash{} |
162 Both syntactic and lexical productions are represented this way. Lexical product
ions are distinguished by their names. The names of lexical productions consist
exclusively of upper case characters and underscores. As always, within grammat
ical productions, whitespace and comments between elements of the production are
implicitly ignored unless stated otherwise. | 162 Both syntactic and lexical productions are represented this way. Lexical product
ions are distinguished by their names. The names of lexical productions consist
exclusively of upper case characters and underscores. As always, within grammat
ical productions, whitespace and comments between elements of the production are
implicitly ignored unless stated otherwise. |
163 Punctuation tokens appear in quotes. | 163 Punctuation tokens appear in quotes. |
164 | 164 |
165 \LMHash{} | 165 \LMHash{} |
166 Productions are embedded, as much as possible, in the discussion of the construc
ts they represent. | 166 Productions are embedded, as much as possible, in the discussion of the construc
ts they represent. |
167 | 167 |
168 \LMHash{} | 168 \LMHash{} |
(...skipping 7975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8144 | 8144 |
8145 The invariant that each normative paragraph is associated with a line | 8145 The invariant that each normative paragraph is associated with a line |
8146 containing the text \LMHash{} should be maintained. Extra occurrences | 8146 containing the text \LMHash{} should be maintained. Extra occurrences |
8147 of \LMHash{} can be added if needed, e.g., in order to make | 8147 of \LMHash{} can be added if needed, e.g., in order to make |
8148 individual \item{}s in itemized lists addressable. Each \LM.. command | 8148 individual \item{}s in itemized lists addressable. Each \LM.. command |
8149 must occur on a separate line. \LMHash{} must occur immediately | 8149 must occur on a separate line. \LMHash{} must occur immediately |
8150 before the associated paragraph, and \LMLabel must occur immediately | 8150 before the associated paragraph, and \LMLabel must occur immediately |
8151 after the associated \section{}, \subsection{} etc. | 8151 after the associated \section{}, \subsection{} etc. |
8152 | 8152 |
8153 ---------------------------------------------------------------------- | 8153 ---------------------------------------------------------------------- |
OLD | NEW |