[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [bug?] = doesn't work properly
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 30 Apr 2017 22:13:26 +0200
2017-04-30 20:33 GMT+02:00 Egor Skriptunoff <email@example.com>:
> On Sun, Apr 30, 2017 at 7:04 PM, Soni L. <firstname.lastname@example.org> wrote:
>> $ lua
>> Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
>> > =1
>> > =1
>> stdin:1: unexpected symbol near '='
> Yes, it looks like a bug.
"Please stop calling "bug" something that does not behave as you wanted
or imagined." — Roberto Ierusalimschy 
"After reading a line, Lua first try to interpret the line as an expression.
If it succeeds, it prints its value. Otherwise, it interprets the line as
a statement. If you write an incomplete statement, the interpreter waits
for its completion by issuing a different prompt." — Lua User's Manual