lua-users home
lua-l archive

A know this is a syntactically valid Lua expression.Can someone give me a written parse for it?

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


Hello:
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!
Carl

AltStyle によって変換されたページ (->オリジナル) /