diff options
| author | Cary Coutant <ccoutant@gmail.com> | 2025-03-27 17:15:37 -0700 |
|---|---|---|
| committer | Cary Coutant <ccoutant@gmail.com> | 2025-03-27 17:15:37 -0700 |
| commit | 6ef784f1831202ec9a55faacb7cf3f6361bb5b7b (patch) | |
| tree | 9c144029da0ed774f6181875a81f649c0806f1cf | |
| parent | Updated DWARF 5 Errata. (diff) | |
Add issue 250325.1: New lang code for Nim.
| -rw-r--r-- | md/issues/250325.1.md | 35 | ||||
| -rw-r--r-- | md/languages-v6.md | 1 | ||||
| -rw-r--r-- | md/languages.md | 1 |
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 @@ | |||
| 1 | Title: Add new language code for Nim | ||
| 2 | Author: Jacek Sieka | ||
| 3 | Email: arnetheduck@gmail.com | ||
| 4 | Champion: | ||
| 5 | Submit-Date: 2025-03-25 | ||
| 6 | Revised-Date: | ||
| 7 | Closed-Date: 2025-03-27 | ||
| 8 | Propid: 250325.1 | ||
| 9 | Type: Enhancement | ||
| 10 | Status: Lang Code Assigned | ||
| 11 | Version: 6 | ||
| 12 | Format: markdown | ||
| 13 | Revisions: | ||
| 14 | |||
| 15 | As community member and maintainer of | ||
| 16 | [`nlvm`](https://github.com/arnetheduck/nlvm), an LLVM-based compiler | ||
| 17 | for the [Nim language](https://nim-lang.org/), I'd like to propose | ||
| 18 | that a new language constant is added for it in v6! | ||
| 19 | |||
| 20 | Our current debugging experience is based on pretending to be C and | ||
| 21 | using Itanium-abi-based mangling to piggy-back on C++ demanglers which | ||
| 22 | of course isn't optimal as the C++ syntax is foreign to many Nim | ||
| 23 | developers and the C syntax lacking many "native" Nim quirks. I'd love | ||
| 24 | to get the ball rolling on improving things on the debugging front | ||
| 25 | with a view to also extend lldb/gdb and similar tools in the future! | ||
| 26 | |||
| 27 | The language is currently at version 2.2.2 - major ABI updates are | ||
| 28 | expected to touch the "major" version while even minor releases act as | ||
| 29 | feature upgrades, the 1.x series ending at 1.6. Indexing is 0-based by | ||
| 30 | default (though customizable for array types). | ||
| 31 | |||
| 32 | --- | ||
| 33 | |||
| 34 | 2025-03-27: Assigned language codes DW_LANG_Nim = 0x0045 | ||
| 35 | and 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 | | ||
