Expand description
Standard Polydat function-node library + sampling primitives + library-internal support.
- Function-node modules (
arithmetic,string,hash, …): the 250+ built-incrate::ast::PolydatNodeimplementations workload authors compose into kernels. polydat_nodes::sampling: alias tables, LUT interpolation, ICD — variate-sampling building blocks consumed by distribution-emitting nodes (weighted, probability, etc.).support: library-internal infrastructure (support::cache,support::audit) used by nodes likevectorsfor caching dataset handles and diagnosing data-source mismatches.
Modules§
- assertions
- Type and value assertion nodes.
- context
- Context state nodes: non-deterministic, session-scoped values.
- convert
- Type conversion nodes.
- datafile
- Data file nodes: ordinal-based access to CSV, JSONL, and text files.
- diagnostic
- Diagnostic and debugging nodes.
- exactly_
one exactly_one_value— explicit unwrap of a unary structural body (SRD-66 §“Surface 4”).- fixed
- Fixed value and value-list nodes across fundamental types.
- format
- Printf-style formatting node.
- identity
- Identity and constant nodes.
- json
- JSON construction, serialization, and manipulation nodes.
- log_
levels log_debug/log_info/log_warn/log_error— pass-through logging node functions (SRD-66 §“Surface 5”).- polyfill
- Polyfill edge adapters covering every cell of the type
matrix from
polydat/docs/design/type_system.md§3 that has a sensible conversion. - polyfill_
128 - Polyfill edge adapters for the 128-bit integer types
(
u128/i128) — cranelift I128 under both signedness interpretations (polydat/docs/design/type_system_alignment.md§8.1). - polyfill_
complete - Matrix-completion adapters — the boundary (class-B) conversions
that fill every meaningful
(from, to)cell the §3 catalog had left as·. Generated bypaste!-driven macros so the ~130 trivial transforms aren’t hand-written; each is still a real#[polydat_node](the SRD-80b authoring path), so they JIT and register exactly like the hand-written adapters. - polyfill_
narrow - Polyfill edge adapters for the narrow cranelift scalar widths
(
u8/i8/u16/i16/f16) added by the full-cranelift type alignment (polydat/docs/design/type_system_alignment.md§8.1). - register_
view - The register view retag adapter the assembler inserts between register ports of different lane typings, and the register-port predicate it keys on (type_system_alignment.md §8.4 layer 2).
- support
- Support utilities used by Polydat function nodes.
- tile_
render - The tile nodes (SRD 114 §6, §7.1).
- vectors
- Vector dataset access nodes via the
vectordatacrate.
Functions§
- debug_
nodes_ enabled - Env-gated debug-level diagnostic for selection / matching nodes.