From 5e9b31f06bb601a01ed99f8e1c9986cbe78e1dfa Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 2 Mar 2022 17:40:18 -0500 Subject: Correct swapped 1 and 2 --- docs/spec/grammar.html | 4 ++-- spec/grammar.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/spec/grammar.html b/docs/spec/grammar.html index fc8e2542..3f9bce5f 100644 --- a/docs/spec/grammar.html +++ b/docs/spec/grammar.html @@ -16,8 +16,8 @@

Here we define the "atomic" forms of functions and modifiers, which are either single tokens or enclosed in paired symbols. Stranded lists with , which binds more tightly than any form of execution, are also included.

ANY      = atom | Func | _mod1 | _mod2_
-_mod2_   = ( atom "." )? _c_ | _cl_ | "(" _m1Expr_ ")" | _blMod2_
-_mod1    = ( atom "." )? _m  | _ml  | "(" _m2Expr  ")" | _blMod1
+_mod2_   = ( atom "." )? _c_ | _cl_ | "(" _m2Expr_ ")" | _blMod2_
+_mod1    = ( atom "." )? _m  | _ml  | "(" _m1Expr  ")" | _blMod1
 Func     = ( atom "." )?  F  |  Fl  | "(" FuncExpr ")" |  BlFunc
 atom     = ( atom "." )?  s  |  sl  | "(" subExpr  ")" |  blSub | list
 list     = "⟨" ? ( ( EXPR  )* EXPR ? )? "⟩"
diff --git a/spec/grammar.md b/spec/grammar.md
index df355c77..21ffd73d 100644
--- a/spec/grammar.md
+++ b/spec/grammar.md
@@ -17,8 +17,8 @@ A program is a list of statements. Almost all statements are expressions. Namesp
 Here we define the "atomic" forms of functions and modifiers, which are either single tokens or enclosed in paired symbols. Stranded lists with `‿`, which binds more tightly than any form of execution, are also included.
 
     ANY      = atom | Func | _mod1 | _mod2_
-    _mod2_   = ( atom "." )? _c_ | _cl_ | "(" _m1Expr_ ")" | _blMod2_
-    _mod1    = ( atom "." )? _m  | _ml  | "(" _m2Expr  ")" | _blMod1
+    _mod2_   = ( atom "." )? _c_ | _cl_ | "(" _m2Expr_ ")" | _blMod2_
+    _mod1    = ( atom "." )? _m  | _ml  | "(" _m1Expr  ")" | _blMod1
     Func     = ( atom "." )?  F  |  Fl  | "(" FuncExpr ")" |  BlFunc
     atom     = ( atom "." )?  s  |  sl  | "(" subExpr  ")" |  blSub | list
     list     = "⟨" ⋄? ( ( EXPR ⋄ )* EXPR ⋄? )? "⟩"
-- 
cgit v1.2.3