behavior-contracts 0.4.0

Language-neutral IR runtime core (expression evaluation, template rendering, execution plan, canonical serialization) shared across DSL implementations. Passes the dsl-contracts conformance vectors byte-for-byte.
Documentation
1
2
3
4
5
6
7
8
9
10
11
{
  "note": "Committed outputs of the behavior-contracts common generator (bc#13 SP2) — rust emitter. Each module is generateModule(<behavior.json vector IR>, {language:'rust'}) verbatim. Regenerate with `node ts/scripts/gen-codegen-fixtures.mjs` (Node >= 22.6); byte-drift against the generator plus the rustfmt --check + first-use self-check gate are enforced by ts/test/codegen-fixture-sync.test.ts.",
  "suite": "behavior.json",
  "modules": {
    "gen_single_ref.rs": "single componentRef — port expr wired from input param",
    "gen_skip_coalesce.rs": "skip — null-binding parent field skips child; output coalesces to fallback",
    "gen_policy_fail.rs": "fail policy — handler error propagates as OP_FAILED",
    "gen_map_into_chain.rs": "map.into chaining — depth-2 relation as two chained maps over the augmented list",
    "gen_map_batched_into.rs": "map.batched + map.into — batched results zip-attached to over elements"
  }
}