Skip to content

Parse the shorthand forms of the component text format - #544

Draft
MaxDesiatov wants to merge 1 commit into
maxd/cm-wast-definitionsfrom
maxd/cm-text-shorthand
Draft

MaxDesiatov wants to merge 1 commit into
maxd/cm-wast-definitionsfrom
maxd/cm-text-shorthand

Conversation

@MaxDesiatov

Copy link
Copy Markdown
Member

The component text parser rejected shorthand forms that wasm-tools accepts, which caused 77 spec-suite failures. This change implements parsing inline imports and exports, export ids, implicit outer aliases and export projections. It also fixes imports whose body starts with a type declaration and value exports.

@MaxDesiatov
MaxDesiatov added this pull request to stack #538 November 29, 2026 18:57
The component text parser rejected shorthand forms that `wasm-tools` accepts, which caused 77 spec-suite failures. This change implements parsing inline imports and exports, export ids, implicit outer aliases and export projections. It also fixes imports whose body starts with a type declaration and value exports.
@MaxDesiatov
MaxDesiatov force-pushed the maxd/cm-text-shorthand branch from 9beee7e to b36e892 Compare November 29, 2026 20:38

This branch has not been deployed

No deployments
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.

1 participant