Petr Pučil
Petr Pučil
Cc @disconnect3d (made on the EuroPython 2022 sprint) See #939 It doesn't really adjust the value format (as I thought it would when I provide the argument type, but it...
When I run the [test suite](https://github.com/kaitai-io/kaitai_struct_tests) with [Clang's **UndefinedBehaviorSanitizer**](https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html), I get the following errors: /mnt/c/temp/kaitai_struct/tests/compiled/cpp_stl_98/enum_for_unknown_id.h:38:35: runtime error: load of value 80, which is not a valid value for type 'enum_for_unknown_id_t::animal_t'...
As @mfalkvidd pointed out [on Gitter](https://gitter.im/kaitai_struct/Lobby?at=61a4f7e16104ea63b6bfc130), KSC currently produces JavaScript code in which `instances` are non-enumerable. This means that instances **don't** show up during property enumeration ([`for...in`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in) loop or [`Object.keys`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)...
Following the discussion at Gitter (https://gitter.im/kaitai_struct/Lobby?at=5f9fe0f72a60f731f72da5b7): > FYI, Travis CI now no longer provides unlimited CI for open-source projects, starting yesterday. Which they announce in a blog post today? https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing...
The first sentence in the README looks like this: https://github.com/streamich/memfs/blob/234b95e9cc5e2bf8cab19a1846545fb3df0a00cb/README.md#L5 The URL https://nodejs.org/api/fs.html reflects the _current_ version of Node.js API, which is v15.2.1 at the moment: > ## Node.js v15.2.1...
The SoundFont 2 is a popular format storing instrument sounds for playing MIDI files using sample-based synthesis. - [.sf2 sample files](https://github.com/FluidSynth/fluidsynth/wiki/SoundFont#soundfont-resources) - [SoundFont 2.04 specification](https://freepats.zenvoid.org/sf2/sfspec24.pdf) - comprehensive PDF document fully...
When you want to write enum value, you need to call method `translator.enumToInt`, which expects its arguments of type `Ast.expr`. So we need a way to convert `Identifier` to `Ast.expr.Name`....
I need to access `typeProvider` property of LanguageCompiler from trait GenericChecks, so I made it public with `val`. I reuse ConsistencyError for throwing if the last element of array doesn't...
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...
Try this example in the [Web IDE](https://ide.kaitai.io/devel/): ```ksy meta: id: webide_repre_inst_pos seq: - id: a type: foo types: foo: -webide-representation: '{inst_pos:dec}' instances: inst: value: inst_pos inst_pos: pos: 0 type: s1...