Live data from Hacker News

LunarML – Standard ML compiler that produces Lua/JavaScript

github.com

1–10 of 25 posts

Re: LunarML – Standard ML compiler that produces Lua/JavaScript

#4

I got tricked up by the acronym. This compiles the programming language "Standard ML [Meta Language]" to the programming languages Lua or JavaScript. It's not a machine learning compiler.

I can no longer google "ML Kit" and find the ML compiler, instead I find Google's ML library. You win some, you lose some.

Re: LunarML – Standard ML compiler that produces Lua/JavaScript

#7

This is a very cool project. There is also MLKit's SMLtoJs which compiles to Javascript, but not to Lua. https://github.com/melsman/mlkit/blob/master/README_SMLTOJS....

Which in turn compiles itself into Javascript, such that you can run the SMLtoJS compiler in the browser, e.g. it should be possible to make it accept tags with SML code.

Re: LunarML – Standard ML compiler that produces Lua/JavaScript

#9

I've always loved Standard ML and feel it's never gotten the love that it deserved. It was my introduction to typed FP concepts via this course (Part A) https://www.coursera.org/learn/programming-languages

Agreed! But OCaml is close enough that I don't despair.

Chris okasaki's purely functional data structures is an excellent intro to SML if your familiar with FP already.

Re: LunarML – Standard ML compiler that produces Lua/JavaScript

#10

I got tricked up by the acronym. This compiles the programming language "Standard ML [Meta Language]" to the programming languages Lua or JavaScript. It's not a machine learning compiler.

those of us interested in the ML language family have been disappointed for years every time a headline turns out to be yet another machine learning thing, so I'm glad to see this one was actually an ML (:
Post reply on HN