lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Here's a diff of the BNF as found in lparser.c:
> 
> [...]

Many thanks.


> The changed syntax accepts strange stuff like
> 
>    nil.foo
> 
> but also nifty constructs like
> 
>    "%d":format(42)
>    { a, b, c }[i]

This creates more cases of ambiguous syntax:

  a = b + c
  "%d":foo(42)

But they are all similar to what we already have with parentheres.

-- Roberto