Thank you.
Erlang versions can be numbered with up to four segments (27.3.4.3, 28.0.4, 28.1, 28.0).
Elixir and Gleam versions seem to always have three segments (1.19.0, 1.18.4 for Elixir, 1.12.0 for Gleam)
Paul I've opened Issue 250924.1. I checked the references for each of the languages, and it looks like the default lower bound for Erlang and Elixir is 1 (based on tuple indexing), and the version scheme for each is VVMM. For Gleam, it looks like the default lower bound is 0, and the version scheme is VVMMPP. If these are correct, I'll assign language codes and close the issue.
-cary
On Sun, Sep 14, 2025 at 10:04 AM Paul Guyot via Dwarf-discuss < [email protected]> wrote: Hello,
I'm working on a JIT backend for AtomVM, an alternative virtual machine for BEAM languages (Erlang, Elixir, Gleam), and I adopted Dwarf as the format for debugging the JIT-compiled and precompiled code.
None of these languages seem to exist in Dwarf and I would like to propose that new language constants be added for the three of them (Erlang, Elixir and Gleam) in v6.
BEAM languages are pretty mature and can already include debug info in an alternative proprietary format, but live debugging is a work in progress for both BEAM (the primary virtual machine) and AtomVM. AtomVM being focused on micro controllers, gdb is the natural tool and Dwarf the best format.
-cary
|