Skip to content

Liana

API bindings IR and code generation.

Liana provides a unified intermediate representation for API definitions, enabling code generation across languages and frameworks.

Key Features

  • Language-agnostic IR - Core types represent APIs independent of target language
  • Multi-target codegen - Generate bindings for Rust, TypeScript, Lua, etc.
  • Schema-driven - Parse OpenAPI, JSON Schema, and other formats

Architecture

  • liana-core - IR types and traversal
  • liana-codegen - Code generation backends