plotnik-compiler 0.3.2

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

pub mod typescript;