lua-users home
lua-l archive

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

I have to realize a parser for a simple language to describe network
The language is made by nodes and links between nodes, and it is
described by this document: (page 34 and 39,

The grammar is quite compact, and a simple pattern matching using the classical
regular expression support in Lua might suffice to build an in-memory
representation of a topology.

I was wondering if better alternatives exist nowadays: how about the
lpeg library ? Is it appropriate ?  Are there other well-known
to facilitate this task ?

Thanks for your suggestions,