lang::parser::op_table

lang/src/parser/op_table.mo

Monad's operator table: which characters can form an operator, and each operator's precedence and associativity.

Split out of parser/core.mo, which is otherwise generic. This file is the opposite -- every entry below is a fact about THIS language's grammar, so a parser substrate reused elsewhere must not carry it.

typeOpEntry#
pub type OpEntry {
    mk (op_str : String) (prec : I64) (right_assoc : Bool)
}
defop_chars#
pub def op_chars : List String
defop_table#
pub def op_table : List OpEntry