TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

LunarML – Standard ML compiler that produces Lua/JavaScript

96 pointsby injuly12 months ago

7 comments

weatherlight12 months ago
I&#x27;ve always loved Standard ML and feel it&#x27;s never gotten the love that it deserved.<p>It was my introduction to typed FP concepts via this course (Part A) <a href="https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;programming-languages" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;learn&#x2F;programming-languages</a>
评论 #40466190 未加载
评论 #40464064 未加载
评论 #40464815 未加载
_delirium12 months ago
Blog post announcing it: <a href="https:&#x2F;&#x2F;minoki.github.io&#x2F;posts&#x2F;2023-12-17-lunarml-release.html" rel="nofollow">https:&#x2F;&#x2F;minoki.github.io&#x2F;posts&#x2F;2023-12-17-lunarml-release.ht...</a>
ihumanable12 months ago
If you haven&#x27;t taken a plunge into Standard ML or OCaml and are interested, I can&#x27;t suggest this playlist enough <a href="https:&#x2F;&#x2F;youtu.be&#x2F;MUcka_SvhLw?si=rc4ele_0WcjwLFR3" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;MUcka_SvhLw?si=rc4ele_0WcjwLFR3</a><p>It&#x27;s such a lovely introduction to Ocaml and programming in general and has a free online textbook. It&#x27;s a lot of videos but each one is 5-10 minutes so it&#x27;s very easy to hop in and out.
humzashahid9812 months ago
This is a very cool project.<p>There is also MLKit&#x27;s SMLtoJs which compiles to Javascript, but not to Lua.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;melsman&#x2F;mlkit&#x2F;blob&#x2F;master&#x2F;README_SMLTOJS.md">https:&#x2F;&#x2F;github.com&#x2F;melsman&#x2F;mlkit&#x2F;blob&#x2F;master&#x2F;README_SMLTOJS....</a>
评论 #40463537 未加载
sgt_bilko12 months ago
On work laptop (Windows) at the moment. Will get to it in the weekend, but can some kind soul tell me: is the lua and js generated code readable?<p>(Standard for readable for me is ReScript)
psd112 months ago
I&#x27;ve had a great time discovering Fable, which compiles F# to JS or TS.<p>The cost of moving from VSCode to neovim has always put me off, but if I could write the config in F# it would tempt me more.<p>How far is standard ML from F#?<p>Is there any existing compiler for F# =&gt; Lua?
评论 #40464921 未加载
评论 #40465362 未加载
评论 #40466828 未加载
评论 #40464649 未加载
programjames12 months ago
I got tricked up by the acronym. This compiles the programming language &quot;Standard ML [Meta Language]&quot; to the programming languages Lua or JavaScript. It&#x27;s not a machine learning compiler.
评论 #40462854 未加载
评论 #40464072 未加载
评论 #40466189 未加载