plotnik_compiler/typegen/
mod.rs

1//! Type declaration generation from compiled bytecode.
2//!
3//! Extracts type metadata from bytecode modules and generates type declarations
4//! for target languages. Currently supports TypeScript `.d.ts` generation.
5//!
6//! # Example
7//!
8//! ```ignore
9//! use plotnik_lib::typegen::typescript;
10//! use plotnik_lib::bytecode::Module;
11//!
12//! let module = Module::load(&bytecode)?;
13//! let output = typescript::emit(&module);
14//! ```
15
16pub mod typescript;