共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > bltc |
bltc
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
Bit Level Types is a language for specifying binary
formats through a collection of types -- commonly, a Data Description Language. BLT specifications can describe both files (e.g., JPEG, ELF, MIDI) and network packets (e.g., IP, TCP, X). By writing a BLT specification for a format, we create a formal definition of what a valid instance of the format is. The enclosed compiler generates parsers and encoders to mediate between the raw binary format and its canonical embedding in a user's programming language of choice, thereby eliminating the error-prone process of writing such code by hand.