kaitai_struct_compiler icon indicating copy to clipboard operation
kaitai_struct_compiler copied to clipboard

Kaitai Struct: compiler to translate .ksy => .cpp / .cs / .dot / .go / .java / .js / .lua / .nim / .php / .pm / .py / .rb

Results 76 kaitai_struct_compiler issues
Sort by recently updated
recently updated
newest added

Should be merged together with changes in tests: https://github.com/kaitai-io/kaitai_struct_tests/pull/94 Fixes https://github.com/kaitai-io/kaitai_struct/issues/776

Hey there, I have a Typescript compiler I whipped up yesterday that I'd like to share. Rather than generating Typescript code directly, it generates `.d.ts` files, which are declaration files...

Hello, thanks for the great project, really impressive. To serialize instances of generated Java classes, Java Beans getter methods (public T **get**Xy..) are required for data class fields / members....

Also document that nodes and related `AbstractTranslator` methods. Renames: |Before|After| |------|-----| |`Ast.expr.EnumById`|`Ast.expr.EnumCast`| |`Ast.expr.EnumByLabel`|`Ast.expr.EnumVariant`|

This directly provides compiler functions, required by updated Lua runtime, see https://github.com/kaitai-io/kaitai_struct_lua_runtime/pull/5 for reference This PR will need the tests to be re-compiled, since Lua 5.1 does not support unicode...

Resolves https://github.com/kaitai-io/kaitai_struct/issues/561 (merging this should fix the test `repeat_until_calc_array_type`, which is the last failing test related to that issue). I've discovered this C++11 bug when fixing test [`expr_calc_array_ops.ksy`](https://github.com/kaitai-io/kaitai_struct_tests/blob/9b170bbc2ee360a8980bd607751dd87c77c56eaf/formats/expr_calc_array_ops.ksy) for C++11...

The output of the new "TypeScript" target is typescript that uses a class based format instead of a prototype-based one. TypeScript allows for autocompletion, making it significantly easier to work...

TODO: elaborate what exactly was changed and why

(Incorrect code when using "size" with "switch-on" without a default case): It adds one missing property declaration.