Aren't there already a few? OCaml?
What's "serious" in this context?
I read somewhere that an OCaml to LLVM compiler was attempted, but people had problems with the GC aspect. I don’t know if this claim is true, though.
I was thinking of the same, but I hadn't/haven't used it so you may be right it never came to fruition.
It compiles to wasm object files and links files with LLVM's LLD. My current challenge is ensuring that the stdlib correctly translates to wasm. The C parts are not translated yet - which means: no gc, no exceptions, no tail calls.
[0] https://www.tweag.io/posts/2018-05-29-hello-asterius.html [1] https://github.com/tweag/asterius
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Meanwhile infix operators are just syntax sugar and can be emulated in other ways.
Aren't they both FP languages?
(I’m assuming you meant to convey a slightly negative connotation through “mathematical”. Though I myself do like PS too)