This looks interesting, but is there an alternative for expressing the format? YAML is just plain awful.
Kaitai: Describe the structure of data, not how you read or write it
61–66 of 66 posts
Re: Kaitai: Describe the structure of data, not how you read or write it
#62No support for sum types? I didn't see even simple unions covered.
supports unions and 4 popular type safe languages. The idea is that you'd write decorators in those languages to implement functionality similar to ksy or write a template to generate ksy and reuse Kaitai tool chain.
Re: Kaitai: Describe the structure of data, not how you read or write it
#63The first thing that comes to my mind in this context is that "kaitai" means "want to write" (書いたい) in Japanese. It also has many other meanings: https://jisho.org/search/kaitai . Maybe the authors had disassembly (解体) in mind.
Just a correction to point away from want to write. It's 書きたい (kakitai) for want to write (and it's probably not want to buy 買いたい).
Re: Kaitai: Describe the structure of data, not how you read or write it
#64https://github.com/bjorn-ali-goransson/wz-pie-converter
(Its for 3d models for the FOSS game Warzone 2100)
Re: Kaitai: Describe the structure of data, not how you read or write it
#65I do love kaitai and recently contributed a grammar, but both the title and the copy talk about writing. > Reading and writing binary formats is hard... Kaitai Struct tries to make this job easier... Kaitai cannot write data back out. [1] This is a major limitation for me. It would be nice to use it as a mutation engine for fuzzing, but without being able to write it back out, it is mostly just beneficial for analysi…
I started working on an alternative that supported writing but didn't follow through since I didn't think many people were interested in Kaitai to begin with.