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

Refactor, simplify and clean up Engine API #769

Open
3 of 7 tasks
jeromesimeon opened this issue Aug 14, 2020 · 0 comments
Open
3 of 7 tasks

Refactor, simplify and clean up Engine API #769

jeromesimeon opened this issue Aug 14, 2020 · 0 comments

Comments

@jeromesimeon
Copy link
Member

jeromesimeon commented Aug 14, 2020

Several improvements to the Ergo engine API in ergo-engine would provide a more solid foundation for execution on multiple platforms (e.g., Node, WebAssembly, etc).

  • Turn engine calls into asyncs again (some platforms such as AssemblyScript execution will require that)
  • Replace trigger by invoke main
  • Move some support code currently in the logic manager which should really be part of the runtime, into the engine. Specifically:
    • creation of the top-level invoke call to engine
    • validation against CTO
  • Remove JIT compilation calls from the engine, focusing execution on compiled code, and removing dependency from the engine to the Ergo compiler.
  • Replace logic manager by something simpler, lower-level and specific to the target execution environment + keep the model manager.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant