That seems to imply that we need to add a new Version Encoding Scheme in
Table 3.2 of Section 3.1.1.
Our current schemes only allow either 2 or 3 segments...

Ron


On Thu, Sep 25, 2025 at 1:48 AM Paul Guyot via Dwarf-discuss <
[email protected]> wrote:

> 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
>
> On 25 Sep 2025, at 01:28, Cary Coutant <[email protected]> wrote:
>
> 
> I've opened Issue 250924.1 <https://dwarfstd.org/issues/250924.1.html>. 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 Wed, Sep 24, 2025 at 10:20 AM Cary Coutant <[email protected]> wrote:
>
>> 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.
>>>
>>>
>> Can you provide the default array lower bound (presumably 0 for all of
>> these), and the versioning scheme used by each language (see
>> https://dwarfstd.org/languages-v6.html)?
>>
>> -cary
>>
> --
> Dwarf-discuss mailing list
> [email protected]
> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
>
-- 
Dwarf-discuss mailing list
[email protected]
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss

Reply via email to