From 0ed3ee0fe326c5259effa1456ac58e0d26e38c4b Mon Sep 17 00:00:00 2001 From: colin Date: Fri, 4 Aug 2023 08:04:32 -0700 Subject: moved start rule section in readme --- README.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index ca98579..e345bcf 100644 --- a/README.org +++ b/README.org @@ -105,6 +105,12 @@ looks like this: A nonterminal is a symbol whose name is surrounded by angle brackets: e.g. ~~ or ~~. +*** 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 ~~ 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. -- cgit v1.2.3