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

Refactor wasm library so it can be used as a backend for a JS frontend #23

Open
io12 opened this issue Jun 19, 2020 · 1 comment
Open
Assignees
Labels

Comments

@io12
Copy link
Contributor

io12 commented Jun 19, 2020

No description provided.

@io12 io12 added the WASM label Jun 19, 2020
@aweinstock314
Copy link
Member

Adding top-level functions decorated with #[wasm_bindgen] to the js_interop module will make them available to JS that loads the wasm blob.

I'm not sure what all the features Connor wants are, but parsing a JsString into an Expr (possibly serializing it to JSON instead of returning a pointer to the WASM heap), enumerating rules (e.g. exposing RuleM::ALL_SERIALIZED_NAMES as a JS Array of JS Strings), and checking a (subproofless) rule given a vector of deps seems like a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants