Morphir IR, every version
Explicit models and JSON codecs for IR v1 to v4, with migrations that refuse what they cannot represent.
Compile, inspect and run Morphir models in the browser, on the desktop and on the command line. One MoonBit code base targets JavaScript, WebAssembly and native code.
; A small, portable Morphir model
(define (price quantity) (* quantity 12))
(define (total quantity) (+ (price quantity) 5))
(total 3)
Explicit models and JSON codecs for IR v1 to v4, with migrations that refuse what they cannot represent.
Write a model, compile it to Morphir IR, explore it and evaluate it, all on the client.
Backends turn Morphir IR into readable Elm and MoonBit libraries.
The Morphir MoonBit project now has a site with docs, design records, a blog and a live workbench.