[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Named function in a table
- From: "Gunnar Zötl" <gz@...>
- Date: Mon, 6 Dec 2010 09:33:11 +0100 (MET)
> On Mon, Dec 6, 2010 at 8:20 AM, starwing <weasley.wx@gmail.com> wrote:
> > local t = {1 2 3 4}
> > just read a expr() and a optional comma/semi-colon is not diffcult in
> > grammar.
>
> I bet you there are ambiguous cases, Lisp gets away with it because it
> has no syntax ;)
obvious case:
t = { f "x" }
one or two elements in t, or even more, depending on wether f is a function and how many values it returns...?
Gunnar