[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: A know this is a syntactically valid Lua expression.Can someone give me a written parse for it?
- From: Carl Glassberg <carlglassberg@...>
- Date: Mon, 29 Jul 2019 15:32:44 -0700
This is an example of a syntactically valid legal expression in Lua,
taken from the PEGTL github grammar for Lua, by Dr. Colin Hirsch and
Daniel Frey (I hope they don't mind me repeating it here):
( a * b ).c()[ d ].e:f()
Other than being a function (method?) call to f, what is the meaning
of the parse of it, step by step, from left to right?
Thanks for your assistance!