Implement the basics of component model#2695
Draft
zherczeg wants to merge 4 commits intoWebAssembly:mainfrom
Draft
Implement the basics of component model#2695zherczeg wants to merge 4 commits intoWebAssembly:mainfrom
zherczeg wants to merge 4 commits intoWebAssembly:mainfrom
Conversation
d04709a to
3f2f212
Compare
f2a0b3b to
0f3bbbe
Compare
08ab8dd to
7b99f16
Compare
9ae0356 to
1279ea2
Compare
d724780 to
4f8a1ed
Compare
Collaborator
Author
|
Status summary. This patch is grown to ~7500 lines addition including an 1500 line update of lexer-keywords.txt. The wasm2wat and wat2wasm tools are extended with component support, which is capable of parsing a hello world component created by clang both in text and binary form. Validation is not implemented. Is component support useful for this project? |
Collaborator
Author
|
Note: component support is based on this document: |
e6e94ae to
e311277
Compare
c2710a6 to
8bbea24
Compare
5b4b321 to
1f3d00f
Compare
This patch supports parsing the new GC types - Abstract types - Recursive types - Composite types The patch also improves type comparison.
00bc9bf to
00d3c36
Compare
90a560d to
55b74e9
Compare
55b74e9 to
b30b6a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an experimental (draft) patch. I don't know how much it fits into the concept of wabt. Wabt has the necessary helpers though.
Components are a layer (layer 1) above module layer (layer 0). It has no official specification, only explainers. It has a binary and text format similar to modules.