lua-users home
lua-l archive

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


Ladies and gentlemen,

I am proud to announce the first release of Leg, a Lua library which offers a complete Lua 5.1 grammar and a small API for user manipulation. It uses LPeg extensively for pattern matching, and the grammar is exported as a table ready for lpeg.P consumption. This was done to enable users to modify the grammar to suit their particular needs, such as Javadoc-like documentation generation, macro preprocessing and syntax highlighting. The examples directory offers some demonstration code.

Leg can be downloaded at http://luaforge.net/projects/leg/, and LPeg can be downloaded here: http://www.inf.puc-rio.br/~roberto/lpeg.html .

_______________________
Humberto S. N. dos Anjos

<insert witty quote here>