Skip to content

Conversation

@nc6
Copy link
Collaborator

@nc6 nc6 commented Nov 22, 2024

This addresses part of #36 - comments are still not supported everywhere, but they are allowed on group entries, which represent the area (other than top-level rules) where comments are the most useful.

The same "comment" syntax is used as with top-level rules.

Note that this does not (yet) work within groups - that will be addressed as part of #32.

As yet, the parser still does not deal with comments, or attribute them to any entity. The tests are likewise oblivious to comments. But this does allow Huddle to define comments and have them reflected in the generated CDDL, which was the principal outcome.

This addresses part of #36 - comments are still not supported
_everywhere_, but they are allowed on group entries, which represent the
area (other than top-level rules) where comments are the most useful.

The same "comment" syntax is used as with top-level rules.

Note that this does not (yet) work within groups - that will be
addressed as part of #32.

As yet, the parser still does not deal with comments, or attribute them
to any entity. The tests are likewise oblivious to comments. But this
does allow Huddle to define comments and have them reflected in the
generated CDDL, which was the principal outcome.
@nc6 nc6 requested a review from Soupstraw November 22, 2024 11:03
@nc6 nc6 merged commit 2c62cdb into master Nov 22, 2024
4 checks passed
@nc6 nc6 deleted the nc/comments branch November 22, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants