Module util

Module util 

Source
Expand description

General utility modules and helper functions for the EITE runtime.

Modules§

array
Array utilities
ascii
ASCII helpers
bitwise
Bitwise operations and binary flag manipulation helpers for EITE.
logic
Boolean logic gate operations for EITE formats.
math
Numeric predicates for i32
pred
Character tests
string
Character and string manipulation helpers for EITE formats.

Enums§

Value
Representation of the “generic” StageL values referenced by the JS. We only add the variants actually needed by the converted functions here.

Functions§

eq_values
Comparison helpers (implEq / implGt / implLt) simplified. Generic equality only covers primitive subset implemented in Value above. (The original JS allowed direct === which included string/int/bool.)
gt_int
lt_int
ne_values