lua-users home
lua-l archive

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


> Could the LHF/Silverstone token filter approach be 
> extended to allow:
> 
> - getting the following expression (not just a token)
> - getting the following function body
> - ...

Not really. The filtering scheme only works on the token stream; it
knows nothing about syntax. The best you can do is to could parentheses
and blocks. Or add some kind of mark to end complex constructs.
--lhf