nkdsl.compiler.compilerΒΆ

Symbolic operator compiler orchestrator.

Functions

compile_symbolic_operator(operator, *[, ...])

Module-level convenience function for one-shot symbolic compilation.

debug_event(msg, *[, scope, pass_name, tag, ...])

Structured debug event with scope and optional pass filtering.

reset_default_symbolic_compiler()

Resets the module-level shared compiler instance.

Classes

AbstractSymbolicArtifactStore()

Abstract interface for compiled symbolic operator artifact stores.

Any(*args, **kwargs)

Special type indicating an unconstrained type.

SymbolicCompilationContext(*, operator, ir, ...)

Holds per-compilation mutable state across pipeline stages.

SymbolicCompilationSignature(...[, ...])

Deterministic compilation signature for cache-key generation.

SymbolicCompiledArtifact(operator_name, ...)

Compilation artifact produced by the symbolic compiler pipeline.

SymbolicCompiler(*[, pipeline, ...])

Orchestrates the symbolic operator compilation pipeline.

SymbolicCompilerOptions([...])

Static and runtime controls for symbolic compiler execution.

SymbolicLowererRegistry([lowerers])

Registry that maps compilation contexts to concrete lowerers.

SymbolicOperatorLoweringRegistry([targets, ...])

Registry for selectable compiled-operator targets.

SymbolicPassPipeline(*, pre_cache_passes, ...)

Staged symbolic compiler-pass pipeline.

Exceptions

SymbolicCompilerError([message])

Raised when symbolic compilation fails at any pipeline stage.