lua-users home
lua-l archive

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


Hi Alexander,

> Anything else out there?

I've used David Manura's loose parser:
https://github.com/davidm/lua-parser-loose. It doesn't generate AST,
but it generates events with all the information you need to build an
AST (similar to SAX in some ways). The disadvantage is that you need
to do AST generation yourself; the advantage is that you get to pick
the format and the elements you care about. I've been using it in ZBS
without issues, although I extended it in several ways to allow
parsing of incomplete fragments.

Paul.