kaitai-io / kaitai_struct

Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
https://kaitai.io
4k stars 194 forks source link

Alternate implementations of compiler #814

Open russkel opened 4 years ago

russkel commented 4 years ago

Is there any known alternate implementations of the kaitai compiler in a more accessible language?

Given the slow development and contributions by only one or two people maybe it's time for an alternative compiler in a language like Python. I think this would see a lot more community contributions, which at the moment are very heavily weighted towards issue raising than pull requests.

KOLANICH commented 4 years ago

There are 2: in rust and nim. The links may be in awesome-kaitai list.

But IMHO it is a very bad idea to have multiple impls.

russkel commented 4 years ago

There are 2: in rust and nim. The links may be in awesome-kaitai list.

Thanks, couldn't find references to Rust, did find Go and Nim.

But IMHO it is a very bad idea to have multiple impls.

Fair enough, but the issues I raised are unlikely to be solved with one.

Mingun commented 4 years ago

I'm plan to create a drop-in replacement of original ksc in Rust, but now development in very early stage -- https://github.com/Mingun/ksc-rs. After fixing one annoying bug in serde I'll return to implementation.

russkel commented 4 years ago

Thanks @Mingun I'll keep an eye out.