Mingun

Results 157 issues of Mingun

This is one possible way to fix tests. The problem lies in two planes: - expression translator can generate access to static methods of `KaitaiStream`, but tests does not import...

This PR includes #291, because Nim octal escapes will consume all possible digits, so string with escape sequence followed by digit will be treated incorrectly. Hex escape form does not...

## Do not merge yet, it is not finished. Not a draft because I want to run CI checks I noticed that `TranslatorSpec.scala` does not test some languages, which seems...

Due to C++ it was not possible to call `doStringLiteral` in `BaseTranslator`, because in C++ this method returns `std::string` object instead of a `"..."` literal. Fixes the following KST tests:...

The actual fix contained in the first commit. The next commits just a minor style nits, which makes generated code looks better and gives more meaningful name to couple of...

Fixes the warnings: ``` [warn] D:\Projects\parsers\kaitai_struct\compiler\shared\src\main\scala\io\kaitai\struct\translators\CommonMethods.scala:150:3: Could not find any member to link for "T". [warn] /** [warn] ^ [warn] D:\Projects\parsers\kaitai_struct\compiler\shared\src\main\scala\io\kaitai\struct\translators\CommonMethods.scala:192:3: Could not find any member to link for "T"....

Its usage was removed in 3fcc700017d4add59724338230604977952dbaec As a next step need to delete method `ensureFixedContents` from runtime libraries as no longer used

Fixes https://github.com/kaitai-io/kaitai_struct/issues/783. This is the first bug, it is present only in JavaScript runtime. The second fixed bug is an incorrect reading of negative `s8` numbers. See the failed tests...

This PR is only necessary changes that needed for https://github.com/kaitai-io/kaitai_struct/issues/778 in Lua. I decided just to return the raw value if corresponding enum key is not defined. Related issues: -...