kaitai_struct_compiler
kaitai_struct_compiler copied to clipboard
Kaitai Struct: compiler to translate .ksy => .cpp / .cs / .dot / .go / .java / .js / .lua / .nim / .php / .pm / .py / .rb
Because function pointers are forbidden in the expression language from now parser won't allow anymore following constructions: - `42()` - `"string"()` - `true()` - `(...)()` - `[]()` This PR fixes...
Relates to: * https://github.com/kaitai-io/kaitai_struct/issues/640 * https://github.com/kaitai-io/kaitai_struct_csharp_runtime/pull/17 * https://github.com/kaitai-io/kaitai_struct_tests/pull/71 This PR adds support for `Kaitai.Struct.Runtime.Async`. Due to my lack of Scala skills, I have used the original implementation of `csharp` and...
Adding first things for custom scan and simulating terminator byte.
I have the following KSY which broke in Ruby and Java because the special iterator `_` has not been processed properly. In Ruby it wasn't declared early enough and is...
…in some calculations. https://github.com/kaitai-io/kaitai_struct_compiler/issues/62
Working for python, cpp_stl_11. Have to be tested for other implementations (C#, Go, Java, JS, Ruby, Rust, PHP, Perl), not implemented on remaining. Can't work on cpp_stl_98 without other library.
Everything compiles, and the tests run (even though plenty fail). There's plenty of implementation work left to be done, but this starting point solves (as far as I can tell)...