3 ms·
I would love to see a stripped back ML-style language that targets lua, just something like ocaml's type system and exhaustive pattern match right on top would
by giraffe_lady 2y ago
I would love to see a stripped back ML-style language that targets lua, just something like ocaml's type system and exhaustive pattern match right on top would be all I need. There have been a few attempts but nothing I know of that got usably far and is maintained.
There might be a way to get standard ML to output lua or something but I'm not that familiar with it. I think it would be an incredible fit for a third backend for gleam, but they say they aren't adding any more beyond erlang and js.
- HexDecOctBin 2y agoYou might be able to repurpose CSharp.lua[1] to compile F# [1] https://github.com/yanghuan/CSharp.lua https://github.com/yanghuan/CSharp.lua
- Vedor 2y agoI think that LunarML [1] could fit this niche quite well. It's a StandardML compiler that targets Lua. I can't tell much more as I've only played with it a little and don't have much experience with ML languages in general, but it looks promising. [1] https://github.com/minoki/LunarML https://github.com/minoki/LunarML