Protocol v1.0 / Specification & Usage Guide
SyncLangs is a developer-centric protocol designed to eliminate type drift in distributed systems. By defining your data structures once in the .syln DSL, you ensure 100% type safety across your entire stack.
Unlike heavy-weight protocols like Protobuf, SyncLangs prioritizes Developer Experience (DX) and native language idiomatics.
# Install the CLI protocol
$ curl -sSL https://synclangs.com/install.sh | sh
$ syln init
$ syln watchThe SyncLangs DSL is designed to be minimal and intuitive. It supports primitives, generics, and nested definitions.
type User {
id: string
tags: list<string>
isActive: bool?
}Our compiler performs LALR(1) parsing and full semantic validation to ensure your types are consistent across all targets. If a change breaks a downstream service, the SyncLangs CLI will exit with a non-zero status code during the check phase.