Hacker News new | ask | show | jobs
by joshspankit 1264 days ago
Have you been exposed to Kaitai Struct[0] yet? As someone who wanted to use binary data from programs I’ve used it quite successfully and even more to the point: quite happily

[0] https://kaitai.io/

1 comments

Nope, not seen this one, though there are many similar such specification languages. This one looks a bit overly verbose?

I suppose someone could write a description of https://github.com/aardappel/treesheets/blob/master/TS/docs/... in that specification language to give parsers in many languages. May not be as easy as it sounds with the embedded PNGs and compression etc.

If someone provides an example binary file I’ll give it a try
Right on, thank you. Would you mind exporting some of those examples and commit them alongside the `cts` files so that I can validate my own parsing?