TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Lua VM cross-compiled to JavaScript (1.4mb - takes a while to load)

58 点作者 pufuwozu超过 14 年前

4 条评论

DanielRibeiro超过 14 年前
Wow. The backend, emscripten (<a href="http://code.google.com/p/emscripten/wiki/GettingStarted" rel="nofollow">http://code.google.com/p/emscripten/wiki/GettingStarted</a>), seems really nice. Wonder how it will work out with Rubinius....<p>Edit: Guess i just found it out :( <a href="http://code.google.com/p/emscripten/issues/detail?id=1" rel="nofollow">http://code.google.com/p/emscripten/issues/detail?id=1</a>
评论 #1941553 未加载
azakai超过 14 年前
Thanks for the feedback in the comments here!<p>I made a few fixes to Emscripten, and the code that was mentioned that doesn't work, should now work in the demo, for example |for x = 1,10 do print(x) end|.
fbcocq超过 14 年前
It breaks for input as simple as "for x = 1,10 do print(x) end". It's a shame I can't use Lua for browser scripting instead of JS.
评论 #1942036 未加载
评论 #1942837 未加载
评论 #1941738 未加载
ajx超过 14 年前
another interpreted language running inside of an interpreted language... sweet. All we need now is to write a perl interpreter in Lua and then run it inside of the javascript Lua interpreter and we'll really see the scripts slow down to a crawl.
评论 #1941779 未加载