Skip to content

Numerals

opulse.expression.numerals

Writing integers in an arbitrary base, optionally tagged with a base marker.

A numeral-base marker is a registered prefix operator with is_base == n; ⊺⇮1A then means "the digits 1A read in base n". Markers are pure notation: they have no compute code and never appear inside operator definitions.

NumeralWriter

Formats integers as <marker><digits> using the registry's base markers.