Issue 260828.1: Add Language Codes For Roc Programming Language

Author: Will Hawkins
Champion:
Date submitted: 2026-08-28
Date revised:
Date closed: 2026-09-10
Type: Enhancement
Status: Lang Code Assigned
DWARF version: 6

Background

Roc 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.

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, we propose the following addition:

Language Name Value Default Lower Bound
DW_LANG_Roc TBD 0

References

Official Roc Website: roc-lang.org


2026-09-10: Assigned language codes DW_LNAME_Roc = 0x33 and DW_LANG_Roc = 0x49.