lua-users home
lua-l archive

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




On 14 Jun 2022, at 13:00, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

can it parse operators that are not Lua operators, i.e. can
I define, for example, a "&=" or "===" binary operator?

No, my code can only handle Lua syntax.

Not sure it is helpful, but Penlight has with a lexer; https://lunarmodules.github.io/Penlight/libraries/pl.lexer.html 

Regards
Thijs