diff options
author | colin <colin@cicadas.surf> | 2023-08-04 08:04:32 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2023-08-04 08:04:32 -0700 |
commit | 0ed3ee0fe326c5259effa1456ac58e0d26e38c4b (patch) | |
tree | cfb811d6865d5c939d7353dcf5165fb3e33d8409 | |
parent | 477bb1041bdb89877867312c1249126f7a2988b9 (diff) |
moved start rule section in readme
-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. |