DSDL enumeration type

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
compilers

Research direction

No files, tests, or entry points are identified in the issue. Start by reviewing the DSDL specification structure and existing type and directive definitions, then clarify the formal enumeration syntax, semantics, and compatibility requirements; done means the specification and corresponding validation coverage define native enumeration types.

Written by the indexing model from the issue text.

Description

In Cyphal v1.1 or later we will need native support for enumeration types to improve type safety. This could be implemented through an additional directive like (this is not a formal proposal):

@enumeration
uint11 FIRST = auto
uint11 SECOND = auto
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenCyphal/dsdl_specification

All issues in OpenCyphal/dsdl_specification

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.