lua-users home
lua-l archive

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

On 25/10/2010 23:28, Jonathan Castello wrote:
It's not as dire as all that. Someone wrote a Lisp interpreter in
Javascript which evaluates and runs code in<script type="text/lisp">
tags. There's no reason something similar couldn't be done for Lua.

Somehow, it could be interesting if JavaScript (ECMAScript) had a define bytecode format, like Java. Parsing textual code to interpret it seems to be a waste of CPU. One can make his own bytecode and a VM in JavaScript to interpret it, but that's still an unnecessary layer, IMHO.

Philippe Lhoste
--  (near) Paris -- France
--  --  --  --  --  --  --  --  --  --  --  --  --  --