This module encapsulates the Scala backend. It takes the Morphir IR as the input and returns an in-memory representation of files generated. The consumer is responsible for getting the input IR and saving the output to the file-system.
mapDistribution : Options -> Morphir.Correctness.Test.TestSuite -> Morphir.IR.Distribution.Distribution -> Result Error Morphir.File.FileMap.FileMap
Entry point for the Scala backend. It takes the Morphir IR as the input and returns an in-memory representation of files generated.
{ limitToModules : Maybe (Set Morphir.IR.Module.ModuleName)
, includeCodecs : Basics.Bool
, testOptions : Morphir.Scala.Feature.TestBackend.Options
}
Placeholder for code generator options.
Possible errors during code generation.