You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a complete F# code generation backend for morphir-dotnet that transforms Morphir IR (JSON) into idiomatic, type-safe F# code using Fabulous.AST and Fantomas.
Vision
Enable developers to generate production-ready F# code from Morphir IR, eliminating manual translation and maintaining type safety throughout the business logic transformation.
Goals
✅ Generate idiomatic F# code from Morphir IR v3
✅ Support all Morphir type and value constructs
✅ Map Morphir SDK types to F# built-in types
✅ Integrate with morphir gen fsharp CLI command
✅ Auto-format output using Fantomas
✅ Support JSON codecs and lens generation (optional)
✅ Achieve ≥80% test coverage
✅ AOT-compatible generated code
Success Metrics
All Morphir IR v3 constructs generate valid F# code
Description
Implement a complete F# code generation backend for morphir-dotnet that transforms Morphir IR (JSON) into idiomatic, type-safe F# code using Fabulous.AST and Fantomas.
Vision
Enable developers to generate production-ready F# code from Morphir IR, eliminating manual translation and maintaining type safety throughout the business logic transformation.
Goals
morphir gen fsharpCLI commandSuccess Metrics
Related Documentation
Child Issues
morphir gen fsharpCommandDependencies
Timeline
Total Duration: 13 weeks (1 week Phase 0 + 12 weeks implementation)
Target Completion: Q2 2025