[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What is the best way to evaluate a "name"
- From: "Paul Moore" <p.f.moore@...>
- Date: Thu, 24 Jul 2008 22:39:05 +0100
2008/7/24 Shmuel Zeigerman <shmuz@bezeqint.net>:
> Paul Moore wrote:
> [...]
>>
>> Is there a simpler way that I have missed? Having said that, I use
>> similar code in a couple of places, so maybe I should just capture
>> this as a utility function eval_expr(L, expr).
>
> See http://lua-users.org/lists/lua-l/2008-04/msg00037.html
Thanks. In retrospect, the other suggestions for parsing dotted
expressions myself look at least as hard. I think I'll go with reusing
Lua's expression code.
Paul.