Sync all reference docs with the grammar
- precedence.csv regenerated to the actual 14-level chain (postfix and prefix levels, guarded alternatives, definition vs assignment) - glyph-escapes.md regenerated from the lexer: 73 glyphs, exactly one ASCII escape each, verified code points; M1-deferred symbols listed separately; add \middot so every glyph has an escape - math_prog_lang.md: M0/M1 symbol split, canonical handler arrow, one-role semicolon, real precedence table and brace-disambiguation rules; the ten example programs are now embedded verbatim and CI-parsed - Whitepaper (md + tex + appendices): every mpl code block parses or is re-fenced as an explicitly-labelled M1+ design sketch; symbol tables replaced by a pointer to glyph-escapes.md; unbuilt tooling and unmeasured claims reworded as planned/envisioned - docs/ARCHITECTURE.md: status preamble, real grammar excerpt, planned sections labelled as such - DocumentationTest now also covers math_prog_lang.md and the whitepaper - CHANGELOG and DECISIONS.md updated
This commit is contained in:
parent
96002ec1bf
commit
468a8045c7
14 changed files with 558 additions and 589 deletions
|
|
@ -1,13 +1,15 @@
|
|||
Level,Operators,Associativity,Description
|
||||
9,function application,left,Function call f(x) or f x
|
||||
8,"↯ ✎ ? ⧈ ⏲ (prefix)",right,Unary prefix operators
|
||||
7,∘,left,Function composition
|
||||
6,× ÷ ∗,left,Multiplication and division
|
||||
5,+ -,left,Addition and subtraction
|
||||
4,= ≠ < > ≤ ≥ ≈ ∼,non-associative,Comparison operators
|
||||
3,∧,left,Logical AND
|
||||
2,∨,left,Logical OR
|
||||
1,⟹,right,Implication
|
||||
0,←,right,Assignment
|
||||
11,"f(a, b) ‧ ⊕ ⊖ ↴{…}",left,"Postfix operators: function call, qualified module access, resource alloc/release, exception handler"
|
||||
10,"↯ ✎ ⧈ ⏲ - ⇀_ch ↽_ch (prefix)",right,"Unary prefix operators (including unary minus) and channel operations"
|
||||
9,∘,left,Function composition
|
||||
8,× ÷ ∗,left,Multiplication and division (/ is an ASCII alias of ÷)
|
||||
7,+ -,left,Addition and subtraction
|
||||
6,= ≠ < > ≤ ≥ ≈ ∼,non-associative,Comparison operators
|
||||
5,∧,left,Logical AND
|
||||
4,∨,left,Logical OR
|
||||
3,⟹,right,Implication / guard arrow
|
||||
2,|,left,Guarded alternatives: (condition ⟹ result) | fallback
|
||||
1,←,right,Assignment
|
||||
0,≜,right,Definition
|
||||
-1,‖,left,Parallel composition
|
||||
-2,;,left,Statement sequencing
|
||||
-2,;,left,Expression sequencing (trailing ; permitted)
|
||||
|
|
|
|||
|
Loading…
Add table
Add a link
Reference in a new issue