summaryrefslogtreecommitdiffstats
diff options
authorCary Coutant <ccoutant@gmail.com>2025-03-27 17:15:37 -0700
committerCary Coutant <ccoutant@gmail.com>2025-03-27 17:15:37 -0700
commit6ef784f1831202ec9a55faacb7cf3f6361bb5b7b (patch)
tree9c144029da0ed774f6181875a81f649c0806f1cf
parentUpdated DWARF 5 Errata. (diff)
Add issue 250325.1: New lang code for Nim.
-rw-r--r--md/issues/250325.1.md35
-rw-r--r--md/languages-v6.md1
-rw-r--r--md/languages.md1
3 files changed, 37 insertions, 0 deletions
diff --git a/md/issues/250325.1.md b/md/issues/250325.1.md
new file mode 100644
index 0000000..1425f8a
--- /dev/null
+++ b/md/issues/250325.1.md
@@ -0,0 +1,35 @@
1Title: Add new language code for Nim
2Author: Jacek Sieka
3Email: arnetheduck@gmail.com
4Champion:
5Submit-Date: 2025-03-25
6Revised-Date:
7Closed-Date: 2025-03-27
8Propid: 250325.1
9Type: Enhancement
10Status: Lang Code Assigned
11Version: 6
12Format: markdown
13Revisions:
14
15As community member and maintainer of
16[`nlvm`](https://github.com/arnetheduck/nlvm), an LLVM-based compiler
17for the [Nim language](https://nim-lang.org/), I'd like to propose
18that a new language constant is added for it in v6!
19
20Our current debugging experience is based on pretending to be C and
21using Itanium-abi-based mangling to piggy-back on C++ demanglers which
22of course isn't optimal as the C++ syntax is foreign to many Nim
23developers and the C syntax lacking many "native" Nim quirks. I'd love
24to get the ball rolling on improving things on the debugging front
25with a view to also extend lldb/gdb and similar tools in the future!
26
27The language is currently at version 2.2.2 - major ABI updates are
28expected to touch the "major" version while even minor releases act as
29feature upgrades, the 1.x series ending at 1.6. Indexing is 0-based by
30default (though customizable for array types).
31
32---
33
342025-03-27: Assigned language codes DW_LANG_Nim = 0x0045
35and DW_LNAME_Nim = 0x002f.
diff --git a/md/languages-v6.md b/md/languages-v6.md
index 35c14ea..bbd2d02 100644
--- a/md/languages-v6.md
+++ b/md/languages-v6.md
@@ -73,6 +73,7 @@ See the [Public Comment](comment.html) page.
73|Metal |`DW_LNAME_Metal` |0x002c|0 |VVMMPP | 73|Metal |`DW_LNAME_Metal` |0x002c|0 |VVMMPP |
74|V |`DW_LNAME_V` |0x002d|0 |VVMMPP | 74|V |`DW_LNAME_V` |0x002d|0 |VVMMPP |
75|Algol 68 |`DW_LNAME_Algol68` |0x002e|1 |YYYY | 75|Algol 68 |`DW_LNAME_Algol68` |0x002e|1 |YYYY |
76|Nim |`DW_LNAME_Nim` |0x002f|0 |VVMMPP |
76 77
77 78
78## Version Schemes 79## Version Schemes
diff --git a/md/languages.md b/md/languages.md
index f2edb53..ec8b134 100644
--- a/md/languages.md
+++ b/md/languages.md
@@ -90,3 +90,4 @@ for the new codes.
90|`DW_LANG_Hylo` |0x0042|0 | 90|`DW_LANG_Hylo` |0x0042|0 |
91|`DW_LANG_V` |0x0043|0 | 91|`DW_LANG_V` |0x0043|0 |
92|`DW_LANG_Algol68` |0x0044|1 | 92|`DW_LANG_Algol68` |0x0044|1 |
93|`DW_LANG_Nim` |0x0045|0 |