Issue 250220.1: Request to add new constant for V Language
| Author: | Jakub Jabłoński |
|---|---|
| Champion: | |
| Date submitted: | 2025-02-20 |
| Date revised: | 2025-02-21 |
| Date closed: | 2025-03-03 |
| Type: | Enhancement |
| Status: | Lang Code Assigned |
| DWARF version: | 6 |
Background
I'm writing on behalf of whole V dev team to propose the addition of a new constant to the DWARF debugging information standard to better support the V programming language. V languge currently relies on transpilation to C, but for better debugging experience we are working currently on direct native support.
V is still developing and there is no finalized reference yet. We still tweak smaller things, but overall syntax is already quite stable. General information about the language can be found at https://vlang.io/ and the documentation at https://docs.vlang.io.
Proposal
I propose adding:
DW_LNAME_V 0x002d
to be used with DW_AT_language_name attribute.
Arrays are 0 based. For versionning we use semantic versioning, so VVMMPP schema would fit the best.
Could you please also advise if it is still necessary to add
DW_LANG_V constant (for DW_AT_language) with version 6 of
the standard ?
2025-03-03: Language code assigned. Also added DW_LANG_V = 0x43.