I only skimmed it, one thing that stood out is that you don't use `.bycopy` for your imported structs/objects. I doubt it's the cause of your crashes.
- Nim calling Lemon parser and SIGSEGV jdn
- Re: Nim calling Lemon parser and SIGSEGV Araq
- Re: Nim calling Lemon parser and SIGSEGV Varriount