DOCUMENTATION.

Protocol v1.0 / Specification & Usage Guide

Core_Concepts

  • Introduction
  • The DSL
  • Type Mapping

CLI_Reference

  • Installation
  • Commands
  • Config

Introduction

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.

Quick_Start

# Install the CLI protocol

$ curl -sSL https://synclangs.com/install.sh | sh
$ syln init
$ syln watch

DSL_Syntax

The 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?
}

Type_Safety

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.