[Dwarf-discuss] RFC: Add DW_LANG_Quxlang
Ryan P. Nicholl
rnicholl@protonmail.com
Fri Sep 11 19:22:36 GMT 2026
Let me correct myself, it looks like there is in fact a user range of opcodes. Seems adding a language code at this time is not yet needed. I will use that instead for now.
I will send out preliminary patches for LLDB and GDB symbol de-mangling when I have a preliminary experimental release ready. Currently the symbol format is unstable so adding de-mangling for multiple code styles is not warranted. GCC support is not planned as I have my hands full with LLVM already.
--
Ryan P. Nicholl
Tel: (678)-358-7765
On Friday, September 11th, 2026 at 11:28, Ryan P. Nicholl <rnicholl@protonmail.com> wrote:
> In that case I will keep using C++'s language code, however this may confuse debuggers that try to parse the code as C++ and may potentially cause them to incorrectly parse the code (instead of recognizing that they are missing a language plugin and falling back to only generic functionality).
>
> --
> Ryan P. Nicholl
> Tel: (678)-358-7765
>
> On Thursday, September 10th, 2026 at 21:54, Cary Coutant <ccoutant@gmail.com> wrote:
>
>> Hi Ryan,
>>
>> The DWARF committee considered your request for a new language code, and decided not to assign one for Quxlang at this time. There was general agreement that before we add a new language code to the DWARF spec, we'd like to see more projects collaborating on it (e.g., patch submissions to llvm, gcc, or gdb). We'll check back with you before we publish the next version of DWARF; please let us know of any progress in this area.
>>
>> -cary
>>
>> On Sat, Jun 20, 2026 at 4:29 PM Ryan P. Nicholl <rnicholl@protonmail.com> wrote:
>>
>>> Thank you.
>>>
>>> After some thought, I have decided upon the following version field information:
>>>
>>> If the entire version number is the value of 0, this indicates a build without any version information. Otherwise,
>>>
>>> the least significant 8 bits represent the Major version of the language, unless they are 0 or greater than 127.
>>>
>>> The value of 0 indicates a preview, special, experimental, or development version. A value greater than 127 is
>>>
>>> reserved for any major version which requires more than 7 bits to represent the major version. The remaining
>>>
>>> bits have a format which is defined by the major version. As no major version has been released yet, the
>>>
>>> meaning of these bits are currently reserved.
>>>
>>> --
>>> Ryan P. Nicholl
>>> Tel: [(678)-358-7765](tel:(678)%20358-7765)
>>>
>>> On Wednesday, June 3rd, 2026 at 17:02, Cary Coutant <ccoutant@gmail.com> wrote:
>>>
>>>> I've posted this as Issue 260531.1:
>>>>
>>>> https://dwarfstd.org/issues/260531.1.html
>>>>
>>>> -cary
>>>>
>>>> On Tue, Jun 2, 2026 at 6:59 PM Ryan P. Nicholl <rnicholl@protonmail.com> wrote:
>>>>
>>>>> For now unspecified, I'll figure that out a bit later.
>>>>>
>>>>> --
>>>>> Ryan P. Nicholl
>>>>> Tel: [(678)-358-7765](tel:(678)%20358-7765)
>>>>>
>>>>> On Wednesday, June 3rd, 2026 at 00:09, Cary Coutant <ccoutant@gmail.com> wrote:
>>>>>
>>>>>> Have you chosen a version scheme for this language? Or should we leave it unspecified?
>>>>>>
>>>>>> -cary
>>>>>>
>>>>>> On Sun, May 31, 2026 at 6:47 PM Ryan P. Nicholl via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org> wrote:
>>>>>>
>>>>>>> I would like to submit the following proposal for consideration:
>>>>>>>
>>>>>>> #
>>>>>>>
>>>>>>> Add DW_LANG_Quxlang
>>>>>>>
>>>>>>> ## Background
>>>>>>>
>>>>>>> A new programming language named Quxlang is in development, and has
>>>>>>>
>>>>>>> progressed to the point where it is generating linked binaries,
>>>>>>>
>>>>>>> but does not have it's own language code yet.
>>>>>>>
>>>>>>> ## Overview
>>>>>>>
>>>>>>> Add a new language code for Quxlang.
>>>>>>>
>>>>>>> ## Proposed Changes
>>>>>>>
>>>>>>> In
>>>>>>>
>>>>>>> Language and Version Codes
>>>>>>>
>>>>>>> add:
>>>>>>>
>>>>>>> DW_LANG_Quxlang, <assigned by committee>, default lower bound = 0
>>>>>>>
>>>>>>> In Language Names, add:
>>>>>>>
>>>>>>> DW_LANG_Quxlang, Quxlang
>>>>>>>
>>>>>>> ## Dependencies
>>>>>>>
>>>>>>> None
>>>>>>>
>>>>>>> ## References
>>>>>>>
>>>>>>> https://gitlab.com/rpnx/quxlang
>>>>>>>
>>>>>>> --
>>>>>>> Ryan P. Nicholl
>>>>>>> Tel: [(678)-358-7765](tel:(678)%20358-7765)
>>>>>>>
>>>>>>> --
>>>>>>> Dwarf-discuss mailing list
>>>>>>> Dwarf-discuss@lists.dwarfstd.org
>>>>>>> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dwarfstd.org/pipermail/dwarf-discuss/attachments/20260911/2b558ff6/attachment-0001.htm>
More information about the Dwarf-discuss
mailing list