LPeg

Parsing Expression Grammars For Lua

$ luarocks install lpeg

LPeg is a new pattern-matching library for Lua, based on Parsing
Expression Grammars (PEGs). The nice thing about PEGs is that it
has a formal basis (instead of being an ad-hoc set of features),
allows an efficient and simple implementation, and does most things
we expect from a pattern-matching library (and more, as we can
define entire grammars).

Versions

1.0.1-1128 days ago181,824 downloads
1.0.0-11 year ago417,274 downloads
0.12.2-12 years ago19,277 downloads
0.12.1-12 years ago2,664 downloads
0.12-12 years ago28,032 downloads
0.11-22 years ago34 downloads
0.11-12 years ago23 downloads
0.10.2-12 years ago610 downloads
0.10-22 years ago1,504 downloads
0.10-12 years ago79 downloads
0.9-12 years ago435 downloads
0.8.1-12 years ago127 downloads
0.7-32 years ago129 downloads
0.7-22 years ago36 downloads
0.7-12 years ago20 downloads
0.6-22 years ago32 downloads

Dependencies

lua >= 5.1

Dependency for

annotate, annotate, Cosmo, Cosmo, environ, fusionscript, github, http, jsonpath, lapis, lcmark, Leg, Lift, llix, lluv-gsmmodem, lpeg_patterns, lq, LTCN, lua-aplicado, lua-CodeGen-LPeg, luaepnf, luaepnf, luahaml, luajson, luajson, luamacro, luamacro, lua-parser, lua-parser, lua-pb, LuaPOD, lua-vcard, luma, luma, lunamark, lunamark, Lust, LXSH, mailgun, moonscript, moonscript, moonscript, nginx-metrix, opeth-lasm, Orbit, Orbit, Orbit, org.conman.cbor, org.conman.parsers.email, org.conman.parsers.ini, org.conman.parsers.ip, org.conman.parsers.json, otouto-test, PegDebug, pegex, pgmoon, pgmoon, pgmoon-mashape, prefix_tree, seawolf, sh-parser, sql2lua, telegram-bot-lua, tree, web_sanitize, web_sanitize, xcomposer

Labels

Manifests