Stefanos Mandalas

Results 14 comments of Stefanos Mandalas

This feature is crucial for [nimitai](https://github.com/sealmove/nimitai) so I plan to tackle it soon.

@flyx Sorry I didn't notice your reply until now. This is awesome news! > Would this work for you Yes, absolutely. Please notify me when the new lexer is ready.

Thanks for this work! > Is there some when defined(compiletime) Fyi yes, [there is](https://nim-lang.org/docs/manual.html#statements-and-expressions-when-nimvm-statement).

But @PMunch... there *is* already a rewrite :3

There seems to be some issue with [spec/ks/expr_bytes_ops.kst](https://github.com/kaitai-io/kaitai_struct_tests/commit/8d1e34e72f63c376d1141560a876d71dd5e9bd92#diff-12726e3d6771eea42cd56dab38a6cbe6). Spec generator fails with: ```shell [error] (run-main-0) io.kaitai.struct.precompile.ErrorInInput: (main): /instances/one_min/value: don't know how to call method 'min' of object type 'BytesLimitType(IntNum(3),None,false,None,None)' ```

Also since then: - I launched a fork of `binaryparse` called `binarylang`, so I added both to the list (in one entry) - I made a repo which is a...

Is `filets` an appropriate name to display? I tried `FILETIME` but it looks ugly.

I'd like a hook which allows code execution when a rule is looked up. This way you can control when your code will be executed. ```nim let p = peg...

Hello @arkanoid87! Thank you for using binarylang! The answer to your question is "both". You should make an MR with your template definitions. They will become part of the binarylang...