Skip to content

Implement printing of components in wasmprinter.#496

Merged
peterhuene merged 1 commit into
bytecodealliance:component-modelfrom
peterhuene:wasmprinter-component-impl
Mar 7, 2022
Merged

Implement printing of components in wasmprinter.#496
peterhuene merged 1 commit into
bytecodealliance:component-modelfrom
peterhuene:wasmprinter-component-impl

Conversation

@peterhuene

Copy link
Copy Markdown
Member

This PR implements printing of components in wasmprinter.

The output text format is based on the current spec's textual representation.

This does not alter the name section parsing implementation to update it for
the component model; it is assumed that will be done when the wat
implementation is completed.

This commit implements printing of components in `wasmprinter`.

The output text format is based on the current spec's textual representation.

This does not alter the name section parsing implementation to update it for
the component model; it is assumed that will be done when the `wat`
implementation is completed.

@alexcrichton alexcrichton left a comment

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.

Seems reasonable to me! Most of wasmprinter, as I'm sure you've seen, is exactly highly tuned or anything like that, it's mostly whatever works for coming out of wasmparser.

@peterhuene peterhuene merged commit 3c71bb6 into bytecodealliance:component-model Mar 7, 2022
@peterhuene peterhuene deleted the wasmprinter-component-impl branch March 7, 2022 18:13
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