SDDL — Simple Data Description Language
SDDL is a domain-specific language for describing binary file formats. It enables you to formally specify the structure of binary data so it can be efficiently processed by compression algorithms, transformation tools, and other downstream systems.
Documentation Sections
Current Language
Documentation for the currently supported SDDL syntax — what you can use today with the SDDL2 compiler. Start here if you want to write SDDL descriptions that work now.
- Getting Started — Your first SDDL description
- Core Concepts — Types, records, arrays, variables, and expressions
- Conditional Fields —
whenblocks - Validation —
expectstatements - Examples — Complete format descriptions
- Quick Reference — Supported syntax at a glance
North Star (v0.6)
The target specification for SDDL — the full language design we're building toward. This includes features that are not yet implemented.
- Full Documentation
- SDDL for LLMs — Complete v0.6 spec optimized for AI assistants
Legacy (SDDL1)
Documentation for the original SDDL language (v1), which uses a different syntax and compiles to a CBOR-based runtime. This version is deprecated in favor of SDDL2.