Skip to main content

Module emit_api

Module emit_api 

Source
Expand description

API emission for IR operations (Python API classes).

Uses sigil-stitch high-level APIs (TypeSpec, FunSpec, TypeName, FileSpec) for structured code generation with automatic import tracking. Groups operations by tag, emits one apis/{tag}_api.py per tag.

Functionsยง

generate_api_files
Generate every API file from the IR.