finos / morphir-dotnet

Apache License 2.0
12 stars 8 forks source link

Implement an Elm TypeProvider #66

Open DamianReeves opened 1 year ago

DamianReeves commented 1 year ago

Implement a TypeProvider that generates Morphir IR from Elm code, as well as generates F# from Elm.

For example:

type MyModule = ElmTypeProvider<"""
module MyModule exposing (...)

greet:String -> String
greet target = String.concat ["Hello, " target]
""">

Would allow this:

MyModule.greet "Bob" |> printfn