[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: functioncall vs varlist ambiguity
- From: Florian Weimer <fw@...>
- Date: Sat, 24 Jul 2010 21:40:20 +0200
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)?