[erlang-questions] Luerl - Lua in Erlang

Tim Watson watson.timothy@REDACTED
Sun Feb 19 01:45:51 CET 2012


On 19 February 2012 00:32, Robert Virding
<robert.virding@REDACTED> wrote:
> Report bugs and missing features.
>

Sure will! Matthew has already mentioned the most important one -
calling Erlang modules/functions. My laundry list for the standard
libraries would definitely be io + file, followed closely by
coroutines, modules and packages. It looks a lot like the stdlib
implementations just need to take their proper inputs (and the
stack/state), call the relevant Erlang stdlib implementation and
return this in the correct format along with St.

Is this the right general pattern? Allowing (obviously) for the
implementation to try and remain faithful to the documented semantics
of Lua's standard library - because if so, it looks like assisting
with implementing additional standard library functions should be
relatively easy.



More information about the erlang-questions mailing list