What we are building
Where SyncLangs stands today. The parser, type checker, and TypeScript and Python generators ship now. Go is in progress. The rest is planned or still being explored.
Lark-based Grammar Parser
LALR(1) parser that reads the .syln schema syntax.
Semantic Analysis Phase
Builds the symbol table, checks types, and catches reference cycles.
Runtime Validation
Generate Zod (TypeScript) and Pydantic (Python) validators from the schema.
Framework Templates
Ready-made configs for stacks like Next + FastAPI and React + Django.
Git Hooks Integration
A pre-commit hook that runs syln check and blocks the commit on type drift.
Monorepo Architecture
Generate and check schemas across multiple packages in one repository.
Plugin Architecture
Write your own generators and extensions for target languages we do not cover.
TypeScript Generator
Generate type-safe TypeScript interfaces and enums from the schema.
Python Generator
Generate Pydantic models and TypedDicts from the schema.
Go Struct Generator
Map .syln types to Go structs with JSON tags. Records and enums work; nested generics are next.
Mobile SDKs
Generate Swift (iOS) and Kotlin (Android) types from the same schema.
GraphQL Generation
Generate a GraphQL schema from .syln, and read GraphQL schemas back into .syln.
AI Schema Generation
MoonshotDraft a .syln schema from existing code, a plain-English description, or a SQL schema.
Bidirectional Sync
MoonshotEdit a generated type in any target language and write the change back to .syln.
API Client Generation
Generate typed API clients (fetch, axios, httpx) from the schema.
Visual Schema Designer
Build a .syln schema in the browser and preview the generated types as you go.
SyncLangs Hub
MoonshotA registry for publishing and reusing .syln schemas across teams, like a package registry for types.