typewriter-macros
Proc macro crate for the typewriter SDK.
What's Inside
#[derive(TypeWriter)]— the main proc macro that drives code generation- Parser — converts
syn::DeriveInput→ typewriter IR using syn 2.x - Emitter dispatcher — routes to feature-gated language emitters
Usage
Most users should depend on the main typewriter crate, which re-exports this macro.
use TypeWriter;
Features
| Feature | Default | Description |
|---|---|---|
typescript |
✅ | Enable TypeScript emitter |
python |
✅ | Enable Python emitter |
License
Apache-2.0 — Darshan Vichhi