[Dwarf-discuss] Add Language Codes For Roc Programming Language
Will Hawkins
hawkinsw@obs.cr
Sat Aug 29 02:06:32 GMT 2026
# Add Language Codes For Roc Programming Language
## Background
Roc (https://www.roc-lang.org/) is a "fast, friendly, functional
[programming] language" quickly advancing toward its first numbered
release. The Roc compiler currently generates DWARF info in its
compiled binaries to aid debugging and the community would appreciate
recognition in the DWARF standard.[^thank]
## Overview
The Roc community politely requests
1. the assignment of a Language and Version Code for the Roc
programming language for DWARF Version 6; and
2. the assignment of a Language Code for the Roc programming language
for DWARF Version 5.
## Proposed Changes
For DWARF Version 6, we propose the following addition:
| Language | Language Code (`DW_AT_language_name`)| Value | Default
Lower Bound |Version Scheme |
| -- | -- | -- | -- | -- |
| Roc | `DW_LNAME_Roc` | _TBD_ | `0` | VVMMPP |
For DWARF Version 5 (["[b]etween revisions of the Standard,
..."](https://dwarfstd.org/languages.html)), we propose the following
addition:
| Language Name | Value | Default Lower Bound |
| -- | -- | -- |
| `DW_LANG_Roc` | _TBD_ | `0` |
> Note: We have intentionally omitted specifying any values in our request, following the pattern of the IETF (where assigned numbers are left as _TBD_ in drafts and later allocated during publication). However, we would be more than happy to resubmit with the values specified, if that is what this standards body prefers.
## Dependencies
N/A
## References
Official Roc Website: [roc-lang.org](https://www.roc-lang.org)
Request Author: [Will Hawkins](whh8b@obs.cr)
> This request was written in consultation with (and the support of) the Roc community. If there is anything that can be done to improve the request, please contact the author using the address above.
[^thank]: Thank you to everyone who volunteers their time to maintain
the DWARF Standard.
More information about the Dwarf-discuss
mailing list