Skip to content

Spectec for binary format of types and instructions - #108

Open
tlively wants to merge 1 commit into
cast-desc-eq-specfrom
spec-binary-format
Open

Spectec for binary format of types and instructions#108
tlively wants to merge 1 commit into
cast-desc-eq-specfrom
spec-binary-format

Conversation

@tlively

@tlively tlively commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@tlively
tlively requested a review from rossberg July 16, 2026 07:48
| 0x4D x:Btypeidx => DESCRIPTOR (_IDX x)

grammar Bdesctype : desctype =
| describestype:Bdescribestype descriptortype:Bdescriptortype ct:Bcomptype => describestype descriptortype ct

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want some other variable names here. I can use dt1 and dt2, but not dt_1 and dt_2 because dt is already taken by deftype. Any suggestions?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about just d_1, d_2? I think d isn't taken globally.

Btw, how about dropping the type suffix on describes/descriptortype? These names are a mouthful, and they aren't really types in their own right anyway, more like modifiers.

@tlively tlively mentioned this pull request Jul 16, 2026
51 tasks
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