lua-users home
lua-l archive

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


On Mon, Aug 9, 2010 at 1:07 PM, Anders Backman <andersb@cs.umu.se> wrote:
> Mm, spreading // tolua_begin over the files, is not really helping either.
> Using a different C++ parser backbone might resolve it. But keeping such
> parser up to date with the latest C++ standards...quite some job.


The latest C++ grammar is 20 pages (not including tokens)
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3092.pdf

I'm not sure if there are any gotcha's with left-recursion beyond
postfix expression, but it's there for the ambitious LPEG grammar
writers :)