Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add semantic analysis #8

Open
bgins opened this issue Mar 19, 2019 · 0 comments
Open

Add semantic analysis #8

bgins opened this issue Mar 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@bgins
Copy link
Owner

bgins commented Mar 19, 2019

Check.hs has the first steps needed for the check phase, but the majority of the work is yet to be completed. Semantic analysis should be implemented based on "Chapter 3: Validation" in the WebAssembly specification.

Validation will consist of two passes. The first pass collects type definitions at the module level, and the second pass validates the module. Check.hs has part of what is needed in the first pass. It collects type definitions, but it still needs to resolve InlineType and TypeUseWithDeclarations that appear on func components.

The Validation Algorithm in §7.3 should be studied before further work on this phase.

@bgins bgins added the enhancement New feature or request label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant