vexil-lang
Compiler library for the Vexil schema definition language.
Vexil (Validated Exchange Language) is a typed schema SDL with first-class encoding semantics —
sub-byte integer types, @varint/@zigzag/@delta annotations, and BLAKE3 schema hashing for
wire-level mismatch detection.
Pipeline
source → lexer → parser → AST → lowering → IR → type checker → CompiledSchema
Usage
use compile;
let result = compile;
if result.diagnostics.iter.any
if let Some = result.compiled
For multi-file projects:
use ;
let loader = new;
let result = compile_project?;
Crates in this workspace
| Crate | Purpose |
|---|---|
vexil-lang |
This crate — compiler library |
vexil-codegen-rust |
Rust code generation backend |
vexil-runtime |
Runtime support for generated code |
vexilc |
CLI compiler |
License
Licensed under either of MIT or Apache-2.0 at your option.