Seems you can shorten `T is seq or T is string or T is ptr or T is ref` to `T
is PointerType` everywhere.
I implemented two optimizations for the `Option` type. The idea was to do the
same as the Rust compiler, use the nil/nullptr for the none option without
occupying extra memory. Then I had a similar idea for `Option[Natural]`, where
I could use `-1` internally to store none. That type could be
well, I once did an approach to this, feel free to use it.
This macro embeds the gdb python script into the executable, when it is build
on Linux. Alternatively you can also load the script from gdb, but once this
works there is no hassle involved anymore.
There seems to be a bug, but I'm not sure about the intended usage:
[https://github.com/nim-lang/Nim/issues/1592](https://github.com/nim-lang/Nim/issues/1592)
I noticed nim compiler has --genMapping option that generates ndi files with
useful mapping.
Unfortunately, compilation itself fails when --genMapping is enabled.
You can now use Godot-Nim with master branch of Godot (so newest version)