kanonak-expression 0.2.0

Kanonak expression runtime (expressionRuntimeVersion 1). Deterministic tree-walker for kanonak.org/transformations + kanonak.org/math expressions, verified against the shared parity vectors.
Documentation
  • Coverage
  • 61.11%
    11 out of 18 items documented0 out of 6 items with examples
  • Size
  • Source code size: 35.14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 694.86 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • kanonak-protocol/runtime
    0 0 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kanonak-oss

kanonak-expression

The expression runtime for the Kanonak Protocol — the Rust port of the kanonak.org/transformations + kanonak.org/math evaluator (expressionRuntimeVersion "1"), verified against the shared parity vectors.

A small, deterministic tree-walker that folds a typed expression to a single number: 27 operators with ontology-derived dispatch, a frozen determinism contract (Round half-away-from-zero, floored Modulo, Sign(0)=0, comparisons as 1/0, domain errors never NaN/Inf), and one resolve(node, ctx, evaluate) hook for variable bindings and domain leaves. Byte-identical results across all six language ports.

The behavior every generated Kanonak SDK evaluates through — the third member of the codec family (canonical content-addresses, codec serializes, expression evaluates).

Source & issues: https://github.com/kanonak-protocol/runtime