lua-users home
lua-l archive

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


I'm writing yet another parser for Lua (more background soon,
hopefully) and I'm finally struggling with the ambiguity between
varlists (in assignments) and functioncalls.  If I'm not mistaken,
this ambiguity ensures that Lua is not LL(k) for any k.

Is there a clever trick to deal with this?

And is this the reason why we need to prefix expressions with "=" at
the interactive prompt (something I've never really liked)?