Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Integrate WASM backend with Ergo compiler #770

Merged
merged 12 commits into from
Aug 19, 2020
Merged

Integrate WASM backend with Ergo compiler #770

merged 12 commits into from
Aug 19, 2020

Conversation

jeromesimeon
Copy link
Member

@jeromesimeon jeromesimeon commented Aug 19, 2020

Issue #727

Integrates WASM backend with Ergo compiler / CLI.

Changes

  • Refactor to logic manager, script manager and engine to support both ES6 and WASM
  • Integrates latest changes from Q*cert wasm backend
  • Fixes tests
  • Error handling is removed from javascript runtime, made generic across backends
  • Runtime support for ergo trigger now based on ergo invoke main Refactor, simplify and clean up Engine API #769
  • low-level compiler API now returns a buffer rather than a string (to support both ES6 and binary WASM)
  • adds wasm.1.0.1 reference interpreter to dependencies

Flags

  • Still PoC for WASM, requires better handling of runtime (currently copied from Q*cert to Ergo engine)

@jeromesimeon jeromesimeon requested a review from pkel August 19, 2020 01:30
@jeromesimeon jeromesimeon merged commit c3883e4 into wasm Aug 19, 2020
@jeromesimeon jeromesimeon deleted the wasm-hack branch August 19, 2020 04:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants