Skip to content

Support compact imports in the spec interpreter#18

Open
bvisness wants to merge 1 commit intomainfrom
cimp-spec-interpreter
Open

Support compact imports in the spec interpreter#18
bvisness wants to merge 1 commit intomainfrom
cimp-spec-interpreter

Conversation

@bvisness
Copy link
Collaborator

Adds binary and text parsing support for the compact import section proposal. Also fixes a small section-sizing bug in the binary tests.

The text parser is a bit crazy because we need to disallow identifiers when using the second compact encoding form. The actual binding of identifiers has been sort of proxied up to the "caller" as a result. I'm open to suggestions for other ways to structure this, but duplicating all the externtype parsing seemed bad, and I'm no good with Menhir.

Adds binary and text parsing support for the compact import section
proposal. Also fixes a small section-sizing bug in the binary tests.
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