yeslogic / doodle

6 stars 1 forks source link

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