Hawaii icon indicating copy to clipboard operation
Hawaii copied to clipboard

Use Templatus for F# code generation

Open xperiandri opened this issue 2 years ago • 4 comments

https://github.com/kerams/Templatus

xperiandri avatar Sep 17 '22 10:09 xperiandri

It looks like Templatus is not under active development atm. Maybe we can revive that, or ask @kerams, who maintains that repo.

abelbraaksma avatar Nov 29 '22 21:11 abelbraaksma

Yeah, it was mostly just a toy and is not .NET Core compatible at its current state. Shouldn't be too hard to migrate and convert it to a proper dotnet tool, but I doubt there is interest as better options are available (depending on what you want to generate here - I am not familiar with Hawaii).

kerams avatar Nov 29 '22 21:11 kerams

I just thought about moving from hard-coded F# generation to some more manageable and maintainable

xperiandri avatar Nov 29 '22 22:11 xperiandri

Perhaps Myriad? I vaguely remember other code generators, not sure if they can easily be plugged in though. It's probably gonna be quite a massive change.

abelbraaksma avatar Nov 30 '22 23:11 abelbraaksma

Maybe this is a good option https://github.com/edgarfgp/Fabulous.AST

lamg avatar Jul 09 '24 14:07 lamg

What is the purpose of changing the codegen AST, is there anything we want to express but can't due to a limitation? I don't believe so. If there is, consider opening an issue for it.

Zaid-Ajaj avatar Jul 13 '24 13:07 Zaid-Ajaj