Comment by SloopJon
3 years ago
This is why I keep reading these threads, looking for something I can wrap my head around.
I started looking at Kaitai Struct not too long ago. I purposely started with a pretty simple format, but I think I'm not smart enough to figure out the input format. Also, I'm pretty sure I hate YAML.
I tried building Poke just last week, having resolved to try it since 1.0, but hit problems with the Boehm GC on my old Mac, and then what looks like Readline problems on my new Mac. I haven't given up, but I'm off to a slow start.
Hachoir, mentioned in another comment, looks promising, although the input looks suspiciously similar to a program I'd write myself.
It's a bit overkill for only building Poke, but you can use Pkgsrc [1] to do so on macOS:
Bootstrap Pkgsrc:
git clone https://github.com/NetBSD/pkgsrc.git
cd pkgsrc/bootstrap
./bootstrap --unprivileged
And then build and install Poke:
cd ~/pkgsrc/editors/poke
bmake install package clean clean-depends
[1] https://pkgsrc.org