lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> Here is a simple implementation of arithmetic expressions in Lua that should
> be adequate for evolutionary programming.
>..
> E{add,1,{mul,2,3}}

I like this example, but isn't this going to be alot slower than doing it
as Dolfi suggested in Scheme? I suppose that you could also write something
to turn these structures into a string and call dostring() but then you've
got the whole code structure -> text -> compiled code that scheme avoids.

Steve