[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: functioncall vs varlist ambiguity
- From: Florian Weimer <fw@...>
- Date: Sat, 24 Jul 2010 23:57:12 +0200
* Luiz Henrique de Figueiredo:
>> And is this the reason why we need to prefix expressions with "=" at
>> the interactive prompt (something I've never really liked)?
>
> This is not part of the syntax of Lua. It's just something the
> interpreter accepts.
I'm wondering why this is necessary. Most other languages with a REPL
do not require the user to disambiguate expressions and statements.