Mingun
Mingun
Take the following KSY: ```yaml meta: id: test_type instances: me: value: unknown.as ``` When `.as` part is missing, the error is reported, as it should: ``` test_type: /instances/me/value: error: unable...
This KSY ```yaml meta: id: test_type instances: me: value: _on ``` reports the error (note, that this is full text): ``` java.util.NoSuchElementException: None.get ``` Compare with that KSY: ```yaml meta:...
Currently, when endian is variable, complier always generate the two versions of code even if it will be the same (i.e. there are no fields that occupies more that 1...
When developing the rust kaitai compiler I found some oddities in the schema that allow it to successfully validate incorrect KSY file and some just weird things: - Parameter name...
#877 give me an idea, that is will be worth to use `_` (self-reference) in the `if` key: ```yaml seq: - id: predictor type: u1 if: _ == 42 ```...
I want to feature gate some rules in grammar, so tried to place `#[cfg(feature = "...")]` on it, but `grammar!` does not accept that. It would be nice if I...
Found in https://stackoverflow.com/questions/67932584/deserializing-recursive-xml-using-serde-in-rust Currently recursively defined enums using newtype variants for recursion lead to stack overflow error: ```rust #[test] fn recursive() { #[derive(Debug, Deserialize, PartialEq)] #[serde(rename_all = "camelCase")] enum MathNode...
As discussed in https://github.com/kaitai-io/kaitai_struct/issues/1132 this PR fixes officially unsupported syntax when defining enums. Closes https://github.com/kaitai-io/kaitai_struct/issues/1132
Closes https://github.com/kaitai-io/kaitai_struct/issues/857. This PR started as support for the ability to use absolute paths (which is actually supported by type resolver) and ended as a bug fix for a known...
Some fields in data model filled by the compilation passes which is not obvious at all. To make this clear, I document properties which is filled by passes, document that...