Skip to main content

compile_bindings_with_opts

Function compile_bindings_with_opts 

Source
pub fn compile_bindings_with_opts(
    ops: &[ParsedOp],
    source_dir: Option<&Path>,
    strict: bool,
) -> Result<ScopeKernel, String>
Expand description

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

When strict is true, the Polydat compiler enforces:

  • Explicit input ...: u64 declaration (no inference)
  • All module arguments must be named (no positional)
  • All module inputs must be provided by caller (no fallthrough)