PDL is a domain specific language for writing the definition of binary protocol packets. Parsing and validating packets from raw bytes is tedious and error prone in any language. PDL generates memory safe and tailored backends for mulitple target languages:
- Rust - C++ - Python
cargo run my-protocol.pdl --output-format rust > my-protocol.rs
Language specific instructions are provided in another section.