[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] LuaSyntaxer 1.0
- From: Jean-Luc Jumpertz <jean-luc@...>
- Date: Sat, 12 Jan 2013 19:21:11 +0100
Hello Lua list,
I am happy to announce LuaSyntaxer 1.0.
Lua Syntaxer adds syntax analyzing capabilities to Lua 5.2 at the C API level.
The internal parser is closely based on Lua's own syntax parser `lparser.c`. This provides a good level of confidence that the Lua syntax structure reported by LuaSyntaxer will be identical to the interpretation of this program by Lua byte code compiler.
Lua Syntaxer does not build the AST of the analyzed code chunk. It is intended to be a low-level utility on top of which programmers can build an AST with the appropriate structure matching their own needs. As such, Lua Syntaxer can be used for implementing a Lua syntax-aware text editor, a code static analysis tool ...
The source code and documentation can be found here: https://bitbucket.org/jean_luc/luasyntaxer