Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 550 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 550 Bytes

Binary format compilation experiment

An experiment into compiling binary format descriptions to decoders with a fixed amount of lookahead. This is related work on our data description language, Fathom.

Usage

Decoding files using the CLI:

cargo run file test2.jpg

Viewing decoded data on the web frontend (requires Python):

cargo run format --output=json > frontend/format.json
cargo run file --output=json test2.jpg > frontend/test.json
python3 -m http.server --directory frontend