You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add two functions: parse and step
For step, the Executor is not wasm-bindgen compatible, so use once_cell to initialise during parse and then step through it during execution.
The step function should return the Context at every step, so serialize it to JsValue using serde-wasm-bindgen and return. Then, define a Context type in typescript, like this:
*To allow serialization, add a conditional derive of Serialize on Context in cambridge-asm
SaadiSave
changed the title
Take advantage of the new step API for Executors in cambridge-asm
Take advantage of the new Executor::step API in cambridge-asm
Jun 7, 2022
The text was updated successfully, but these errors were encountered: