[Hackathon usecase] Make Morphir's Engine for compiling Elm to Morphir and interpreting Morphir IRs available via WebAssembly and WASI. #262
Closed
DamianReeves
started this conversation in
Ideas
Replies: 1 comment
-
Closing discussion in preparation for this years hackathon. Feel free to reopen and update if its still relevant. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Business Problem
Morphir offer's businesses a way to represent their business logic using a data format (the Morphir IR) that is language agnostic. Despite the format being language agnostic, the Morphir tooling is currently very tied to the Elm programming language, NodeJS, and to a degree the JVM and Scala/Java.
WebAssembly as a platform offers execution flexibility and engines like
Wasmtime
andWasmer
run on a variety of platforms. If we took the core Morphir CLI engine and exposed it through a WebAssembly interface, we would enable other programming languages and ecosystems to integrate easier with the toolchain and to ultimately leverage Morphir's interpreter and build pipeline.Expected Outcome
While full integration of the Morphir toolchain into WebAssembly will most likely take more time than we have for this hackathon, we can do exploration and initial work to enable 2 usecases:
make
functionality.Both of these initiatives will benefit Morphir and its users by making integration with Morphir more accessible and not limited solely to executing the CLI and using the generated code.
Beta Was this translation helpful? Give feedback.
All reactions