diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -105,6 +105,12 @@ looks like this: A nonterminal is a symbol whose name is surrounded by angle brackets: e.g. ~<RULE1>~ or ~<FOOBAR>~. +*** The start rule + +The very first rule in a ~deflanguage~ body is the ~START-RULE~. On a +successful parse of the ~TOKENS~, whatever the start rule results in is +what the macro being defined by ~deflanguage~ will expand in to. + *** Pattern Expressions There are two kinds of patterns. First, any nonterminal counts as a @@ -207,8 +213,3 @@ clause, it can be either a function designator or an arbitrary expression. When ~<rule3>~ succeeds, it returns a list of two values. -*** The start rule - -The very first rule in a ~deflanguage~ body is the ~START-RULE~. On a -successful parse of the ~TOKENS~, whatever the start rule results in is -what the macro being defined by ~deflanguage~ will expand in to. |