mpl/precedence.csv
developtheweb 57efd37df6 Initial commit: MPL specification and M0 documentation
- Complete language specification (math_prog_lang.md)
- M0 blocker tracking issue template
- Glyph escape sequences reference
- Operator precedence table
- Example programs from specification
- Project README

Ready for pre-M0 implementation phase
2025-07-25 12:02:20 -04:00

13 lines
No EOL
489 B
CSV
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
-1,,left,Parallel composition
-2,;,left,Statement sequencing