diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-03-02 17:40:18 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-03-02 17:40:18 -0500 |
| commit | 5e9b31f06bb601a01ed99f8e1c9986cbe78e1dfa (patch) | |
| tree | 010a16c3687b0864a2f188865deee216772f05f4 /spec | |
| parent | 08a21b1512fd1e392695673059904eca8c6d099f (diff) | |
Correct swapped 1 and 2
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/grammar.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 ⋄? )? "⟩" |
