Petr Pučil
Petr Pučil
@wader: > possibly split out the weirdness/bug into new issue? Yeah, makes sense. After seeing this - https://github.com/kaitai-io/kaitai_struct/issues/1019#issuecomment-1519016475, I realized that the KSC's component for resolving nested type references apparently...
> @generalmimon Totally agree that `/` seems to need the same treatment as we currently do to `%` to ensure uniform calculations everywhere, and totally agree that it makes sense...
@dgelessus I'm talking about the actual behavior of the KSC-generated code (i.e. the result that users get when they e.g. create a value instance with `value: -5 / 3`), not...
@izzyreal: > Hi, I'm running into this issue, what's the status? Actually, I believe it _is_ possible to implement this with the current version of Kaitai Struct, and it should...
@izzyreal: > Basically I tried to make an `event_type` field like this: > > ``` > instances: > previous_event_type: > value: idx == 0 ? event_type : _parent.event[idx - 1].event_type...
@izzyreal: > It's still reading the header in the running status case, so it's far from complete. Well, it wouldn't have if you used the "lookahead parse instance" as I...
@GreyCat: > * JS: `Number(s)` This is not a good way to parse an _integer_ from string in JavaScript (for example, it doesn't distinguish floats from integers). Currently we use...
@GreyCat My personal answers to the questions in https://github.com/kaitai-io/kaitai_struct/issues/1023#issuecomment-1651349025 would be: > * Do we want to allow leading `+`? No strong opinions. Given that the target languages generally seem...
@wader: > Also thinking what range is safe/fesable to support? int64? but that might be a problem with js that is 53 bit int safe i think? I'd say this...
@GreyCat: > ## Format > Even for a thing as simple as integer, open questions are: Some other questions: * Do we want to allow single underscores interspersed between digits?...