Skip to main content

probe_compile_level

Function probe_compile_level 

Source
pub fn probe_compile_level(func_name: &str) -> CompileLevel
Expand description

Compile all bindings from a set of ParsedOps into a Polydat Kernel.

Collects all unique binding names and expressions, plus any unreferenced bind points in op fields (auto-bound to hash+mod). Wires them through the Polydat assembler as proper node chains. Probe the compile level of a Polydat function by name.

Instantiates a dummy node and calls its intrinsic compile_level(). This is the single source of truth — no external classification needed. Probe the compile level of a Polydat function by name.

Instantiates a node with a representative constant and probes its intrinsic compile level. This is the single source of truth. Probe the compile level of a Polydat function by name.

Constructs a representative Polydat program containing the function and inspects the resulting kernel’s node for its compile level. Uses the unified Polydat compiler — no separate dispatch table.