-
Notifications
You must be signed in to change notification settings - Fork 0
Make bs wasm32 compatible (merge Comrade + Bestsign chgs) #16
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
base: main
Are you sure you want to change the base?
Conversation
its the reference impl it has wacc and runtime and parser and ast... what else do you call it
🎸 🤟🏻 |
Work in progress
because it runs the script
This is essentially ready for review. I took the liberty to update a few adjacent modules, such as Have a look and let me know your thoughts! |
using Return Position Impl Trait In Trait (RPITIT) syntax, which allows for more efficient async trait implementations without requiring the `async_trait` macro
Use RPITIT instead of async-trait macro |
Scope creep on this PR, sorry about that, but I'm using some of these traits, and rust-analyzer won't work if the work crate doesn't compile |
While I'm here, merging in the other changes I made over in Bestsign crate to here |
You guys want to have a look at this so we can merge? cc @dhuseby |
This PR adds a
wasm componentnew text-based virtual runtime to execute Plog scripts, which can be run anywhere, includingwasm32
The runtime parses the script with pest parser, then evaluates the script.
This architecture makes the execution of scripts very flexible.
Fixes #15
Related #4