[Dwarf-discuss] Request to add new constant for Nim language

Jacek Sieka arnetheduck@gmail.com
Tue Mar 25 20:25:58 GMT 2025


Hi!

As community member and maintainer of
[`nlvm`](https://github.com/arnetheduck/nlvm), an LLVM-based compiler
for the [Nim language](https://nim-lang.org/), I'd like to propose
that a new language constant is added for it in v6!

Our current debugging experience is based on pretending to be C and
using Itanium-abi-based mangling to piggy-back on C++ demanglers which
of course isn't optimal as the C++ syntax is foreign to many Nim
developers and the C syntax lacking many "native" Nim quirks. I'd love
to get the ball rolling on improving things on the debugging front
with a view to also extend lldb/gdb and similar tools in the future!

The language is currently at version 2.2.2 - major ABI updates are
expected to touch the "major" version while even minor releases act as
feature upgrades, the 1.x series ending at 1.6. Indexing is 0-based by
default (though customizable for array types).

Thanks and happy to answer any questions,
Jacek


More information about the Dwarf-discuss mailing list