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

[WIP] Improve Parser #393

Closed
wants to merge 69 commits into from
Closed

Conversation

willemneal
Copy link
Contributor

@willemneal willemneal commented Dec 29, 2018

Improving the parser is key to making loading of asc binaries easier. For example, if a wait or notify instruction is used the parser can replace it with a call to an import. Furthermore, it can allow the corresponding host code to be packaged with the binary in a custom section. Lastly and perhaps the most exciting aspect is merging dependencies. Ideally it should be possible to merge an arbitrary wasm binary given that its exports are a subset of the assemblyscript wasm binary's imports.

This PR, however, does not seek to replace the binaryen dependency for the compiler, but it is a first step.

nidin and others added 30 commits August 9, 2018 19:26
initial and max memory set to  sharedMemory
… are generated, which includes adding a `;` to a sub expression that is not a block.
…ased-threads-wait-wake-integration

Feature/worker based threads wait wake integration
dcodeIO and others added 23 commits December 26, 2018 22:52
…ipt#355

This only affects static fields that currently must have a type annotation, while it wouldn't work if there wasn't an annotated type, like on normal globals, which aren't compiled lazily, though. Must be revisted if requirements on type annotations on fields ever become relaxed.
This also made it necessary to extend the internal per-function instances map by one level for the respective class instance key so functions on differnt class instances with the same own type arguments don't collide.
@cdetrio
Copy link

cdetrio commented Jul 11, 2019

What's the status of this? Does "merging dependencies" address #194?

@willemneal
Copy link
Contributor Author

Yes this would solve that. I have yet to return to this in a while, but my next goal was to use Wasi to make this a portable cli tool.

@MaxGraey
Copy link
Member

@willemneal most of changes relate to treading and its examples / tests? I guess it all outdated already. Could we close this?

@MaxGraey MaxGraey mentioned this pull request May 16, 2020
@dcodeIO
Copy link
Member

dcodeIO commented May 16, 2020

Closing this PR as part of 2020 vacuum as it appears to be outdated. I also don't quite understand what's done why and the commit log doesn't seem like it'll be possible to merge, but feel free to refine this and open a new PR.

@dcodeIO dcodeIO closed this May 16, 2020
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.

5 participants