Module: Plurimath::BaseNumberPrefix

Defined in:
lib/plurimath/base_number_prefix.rb

Overview

Shared base-prefix number literal rules (0x, 0b, 0o) for all Parslet parsers and transforms. Including the Parser sub-module adds hex/binary/ octal parser atoms; including the Transform sub-module adds the corresponding Math::Number construction rules. Define base prefixes here once — every format parser picks them up automatically.

Defined Under Namespace

Modules: Parser, Transform