yeslogic / doodle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Rust 99.6%Language:JavaScript 0.2%Language:CSS 0.1%Language:Haskell 0.0%Language:HTML 0.0%