lua-users home
lua-l archive

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


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 ;)

> just change the parser to support it, maybe I can work a patch out. but I
> just want to know anybody interest it :-)

The word 'just' is one of the most terrifying words in the English
language for programmers.

But it would be an interesting patch...

steve d.