[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: evolutionary programming & Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 19 Aug 1999 08:09:55 -0300 (EST)
>From email@example.com Thu Aug 19 03:16:53 1999
>From: Adolf Mathias <firstname.lastname@example.org>
>Certainly you can use tables to represent expressions, but you can't
>them like in Scheme and instead have to cast them into code again,
>which, according to my knowledge of Lua, involves either the path back
>over text, or a new evaluator of these 'table expressions'.
>But please tell me if I'm wrong. I'd love to learn more about Lua...
I wasn't suggesting that you use Lua code as your cromossomes -- this would
indeed need to be done in text form.
I was suggesting a Scheme-like representation for expressions using Lua tables.
And yes, this needs a new evaluator. But it should be simple to write.