Kaitai Struct: A new way to develop parsers for binary structures
There's also Wuffs, a safe and fast programming language made by Google specifically for decoding and encoding file formats <a href="https://github.com/google/wuffs" rel="nofollow">https://github.com/google/wuffs</a><p>Paired with C FFI available in most languages, this seems like the nicer solution. It's simpler than generating code for a bunch of high level languages, and more performant