lua-users home
lua-l archive

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


Thank you for the answers, but as spc pointed out, they do not solve the problem. Your solutions work when we are building patterns manually, but they are not so easy to implement when we are building them automatically from an AST.
See parser-gen for more detail: https://github.com/vsbenas/parser-gen/blob/master/parser-gen.lua