lua-users home
lua-l archive

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


>object:methodA():methodB()
>
>The syntax for function calls is   <varexp>:name(<params>), where <varexp> is
>a simple name, or <varexp>.name or <varexp>[exp]. Unfortunately, it is not
>possible to write a generic expression as the function to be called. We have
>tried to change that, but we've always got parsing problems. So, the solution
>is to use a local temporary variable, as you did.

Have you considered replacing Yacc with a custom parser?

Steve