News for hackers. Stuff that matters.
Re:Lua 5.3: integers, bitwise operators, and a basic UTF-8 l... by ackalker on Monday January 12, 2015 @01:46PM (#8875632)
Well as for simply supporting Lua in browsers, aside from the obvious Emscripten/ASM.js way, which would work for practically all browsers which support JavaScript, Lua can run as a PNaCl app in Chrome/Chromium, see: https://chrome.google.com/webstore/detail/lua/nkcnhkobblkmia...

Of course this is only a proof-of-concept which just runs a Lua REPL in the browser. I wonder if it is possible (and if so, how hard it is) to make the browser run <script language="lua"></script> code.

Re:Lua 5.3: integers, bitwise operators, and a basic UTF-8 l... by justincormack on Monday January 12, 2015 @05:03PM (#8876721)
You need to define a DOM interface to do anything useful, which is a fair amount of work.
Re:Lua 5.3: integers, bitwise operators, and a basic UTF-8 l... by daurnimator on Monday January 12, 2015 @07:11PM (#8877340)
lua.vm.js can manipulate javascript objects. the only outstanding issue is tracking garbage (lua closures can leak into javascript).

In regards to actually doing the DOM work, craig barnes is doing great work over with lua-gumbo: https://github.com/craigbarnes/lua-gumbo

Re:Lua 5.3: integers, bitwise operators, and a basic UTF-8 l... by daurnimator on Monday January 12, 2015 @07:09PM (#8877335)