typewriter-core 0.1.0

Core IR types, traits, and config for the typewriter type sync SDK
Documentation

typewriter-core

Core IR types, traits, and configuration for the typewriter SDK.

Crates.io Docs.rs

What's Inside

  • IR Types (TypeDef, StructDef, EnumDef, FieldDef, TypeKind) — the language-agnostic intermediate representation
  • TypeMapper trait — the contract every language emitter implements
  • Configtypewriter.toml parsing with defaults

Usage

This crate is used internally by typewriter's emitters. Most users should depend on the main typewriter crate instead.

use typewriter_core::ir::*;
use typewriter_core::mapper::TypeMapper;

License

Apache-2.0 — Darshan Vichhi