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

WebAssembly backend #499

Closed
wants to merge 20 commits into from
Closed

WebAssembly backend #499

wants to merge 20 commits into from

Conversation

romac
Copy link
Member

@romac romac commented May 20, 2019

No description provided.

This commit provides the option to generate a Symbols object containing
the whole input program, and filter it for every invocation of the
Component.apply method as needed. This filtering is implemented with a
simple but sound dependency analysis on the level of stainless trees.

In more detail, this commit introduces the following changes:

- A new option --batched (off by default) provides the option discussed
  in the introduction.
- BatchedCallBack implements CallBack when --batched is on.
- The Report classes defined in StainlessCallBack have been refactored
  into a separate trait.
- DependenciesFinder gets renamed to XLangDependenciesFinder
- A new class, DependenciesFinder is introduced which operates on
  Stainless trees.
- The abstract Component.apply is renamed to Component.execute. The
  concrete Component.apply provides the option to filter trees with a
  DependenciesFinder. This option is exercised by BatchedCallBack.
@romac
Copy link
Member Author

romac commented May 20, 2019

Rebased version at #500

@romac romac closed this May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants