4 ms·
Luerl – An implementation of Lua in Erlang
- vvanders 11y agoNice to see such a resurgence of Lua. Shame __metatable doesn't work yet as that's what really makes the language special(to me), allowing you to build any meta-language features ontop of a solid runtime. Hopefully they'll have it working soon.
- ludamad 11y agoJust someone that does want to see Lua more popular - what are you referring to as a resurgence? Following hacker news I don't tend to see much Lua at all at least
- johlo 11y agoMetatables seem to be supported, have a look at benchmark/suites/mtvsclosure.lua
- rvirding 11y agoOf course metatables are supported, it wouldn't be much of a Lua without them. Luerl is standard Lua 5.2 except for coroutines.
- smegel 11y agoI think "Erlu" rolls off the tongue a bit easier.
- eggy 11y agoI wonder if Robert Virding is just happy to implement another language on Erlang after his efforts on LFE (Lisp Flavored Erlang), or is it going to be a complete, and very usable Lua implementation? So the Lua implementation is written in Erlang, no need for a Windows .dll or Linux .so? Very cool. He's a true language nut :)
- rvirding 11y agoYes, I am a language nut :-) and I like to implement languages. It is a very complete Lua implementation in that it supports all of Lua 5.2 except for coroutines and many of the standard libraries. There is of course a good erlang interface and it is easy to write more interface modules to things written in Erlang. The default usage is more to call Lua from erlang to do things, much like from C to the standard implementation.
- deleted 11y ago[deleted]
- rvirding 11y agoIt is actually being used in products.