@@ -16,8 +16,8 @@ of this text is copied, and expanded upon in subsequent RFCs.
16
16
"match").
17
17
- ` repetition ` : a fragment that follows a regular repeating pattern
18
18
- ` NT ` : non-terminal, the various "meta-variables" or repetition matchers
19
- that can appear in a matcher, specified in MBE syntax with a leading `$`
20
- character.
19
+ that can appear in a matcher, specified in MBE syntax with a leading ` $ `
20
+ character.
21
21
- ` simple NT ` : a "meta-variable" non-terminal (further discussion below).
22
22
- ` complex NT ` : a repetition matching non-terminal, specified via repetition
23
23
operators (` \* ` , ` + ` , ` ? ` ).
@@ -80,9 +80,9 @@ Greek letters "α" "β" "γ" "δ" stand for potentially empty token-tree sequen
80
80
and does not stand for a token-tree sequence.)
81
81
82
82
* This Greek letter convention is usually just employed when the presence of
83
- a sequence is a technical detail; in particular, when we wish to *emphasize*
84
- that we are operating on a sequence of token-trees, we will use the notation
85
- "tt ..." for the sequence, not a Greek letter.
83
+ a sequence is a technical detail; in particular, when we wish to * emphasize*
84
+ that we are operating on a sequence of token-trees, we will use the notation
85
+ "tt ..." for the sequence, not a Greek letter.
86
86
87
87
Note that a matcher is merely a token tree. A "simple NT", as mentioned above,
88
88
is an meta-variable NT; thus it is a non-repetition. For example, ` $foo:ty ` is
@@ -108,7 +108,7 @@ of FIRST and FOLLOW are described later.
108
108
tt uu ...` ) with ` uu ...` nonempty, we must have FOLLOW( ` ... tt`) ∪ {ε} ⊇
109
109
FIRST(` uu ... ` ).
110
110
1 . For any separated complex NT in a matcher, ` M = ... $(tt ...) SEP OP ... ` ,
111
- we must have ` SEP ` ∈ FOLLOW(` tt ... ` ).
111
+ we must have ` SEP ` ∈ FOLLOW(` tt ... ` ).
112
112
1 . For an unseparated complex NT in a matcher, ` M = ... $(tt ...) OP ... ` , if
113
113
OP = ` \* ` or ` + ` , we must have FOLLOW(` tt ... ` ) ⊇ FIRST(` tt ... ` ).
114
114
0 commit comments