Skip to main content

Crate parallax_ir

Crate parallax_ir 

Source
Expand description

Parallax Intermediate Representation (PIR).

Language-neutral value graphs used for capture, snapshot, and migration.

Structs§

PirBinding
A named top-level binding captured from a guest runtime.
PirDocument
Complete PIR document.
PirInteger
Arbitrary-precision integer stored as decimal text plus optional signed i128 cache.
PirMapEntry
Map entry preserving key identity (string keys common; PIR allows any value key).
PirRoot
Named root pointer into the object graph.

Enums§

PirValue
Language-neutral PIR value.

Constants§

SCHEMA_VERSION
Current PIR schema version re-export.

Functions§

content_hash
SHA-256 hex digest of canonical compact JSON.
from_json_bytes
Deserialize a PIR document from JSON bytes.
to_json_bytes
Serialize a PIR document to pretty JSON bytes.
to_json_bytes_compact
Serialize a PIR document to compact JSON bytes.
value_from_json
Parse a PIR value from a JSON value using the tagged wire format.
value_to_json
Convert a PIR value to the tagged JSON wire format.

Type Aliases§

Result
Result alias for IR operations.