[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A Lua to JavaScript translator
- From: Alex Queiroz <asandroq@...>
- Date: Wed, 21 Oct 2009 13:56:56 +0000
Hallo,
On 10/21/09, V S P <toreason@fastmail.fm> wrote:
>
> I would recommend to consider metalua
> and do the source level translation rather than bytecode translation
> mainly because I think doing byte code translation would lead to need to
> emulate garbage collection
> idioms that are specific to lua (or so I think)
>
Actually source code translation is more prone to semantic
mismatches than bytecode translation, because the meaning of each
bytecode is simpler. The problem is the API (collectgarbage(), for
instance).
Cheers,
--
-alex
http://www.ventonegro.org/