[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A Lua formatter with LPEG
- From: Patrick Donnelly <batrick@...>
- Date: Sat, 28 Apr 2012 22:55:13 -0400
On Sat, Apr 28, 2012 at 10:45 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> On Sun, Apr 29, 2012 at 06:20, Patrick Donnelly <batrick@batbytes.com> wrote:
>> o forced semicolons for statement termination (due to some statements
>> requiring it)
>
> Ouch! What statements?
Typical example:
$ lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> do
>> a = foo
>> ("%s"):format("str")
stdin:3: ambiguous syntax (function call x new statement) near '('
--
- Patrick Donnelly