lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Nov 13, 2008 at 3:21 PM, Fabien <fleutot+lua@gmail.com> wrote:
> It's not difficult to add support for and/or operators in the translator,
> but as I understood, Vlad only needs to support a limited subset of Lua, and
> quite sensibly didn't focus on things he didn't need.

arguably, it's not too hard to find a limited subset of Lua that
coincides with JavaScript after a few text replacements (begin/end =>
{  }  and such)

> Actually, if you plan to write a translator that converges toward full Lua
> support, some architectural choices made by Vlad would be seriously
> unoptimal, although they made sense in his case.

that would be a really amazing project, i guess it would amount to a
full compiler.

-- 
Javier