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).


1.0.2-1159 days ago103,080 downloads
1.0.1-12 years ago681,373 downloads
1.0.0-13 years ago441,681 downloads
0.12.2-14 years ago19,490 downloads
0.12.1-14 years ago2,692 downloads
0.12-14 years ago49,294 downloads
0.11-24 years ago67 downloads
0.11-14 years ago48 downloads
0.10.2-14 years ago1,042 downloads
0.10-24 years ago1,589 downloads
0.10-14 years ago141 downloads
0.9-14 years ago562 downloads
0.8.1-14 years ago233 downloads
0.7-34 years ago234 downloads
0.7-24 years ago94 downloads
0.7-14 years ago49 downloads
0.6-24 years ago59 downloads


lua >= 5.1

Dependency for

annotate, annotate, Cosmo, Cosmo, croissant, dd-lua-tester, ddt, digestif, environ, fusionscript, gh-md-toc, github, graphql, http, inet, kong-lapis, kpgmoon, lapis, lcmark, Leg, Lift, llix, lluv-gsmmodem, lpeg_patterns, lq, ltcn, lua-aplicado, 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.abnf,, org.conman.parsers.ini, org.conman.parsers.ip, org.conman.parsers.ip-text, org.conman.parsers.json, org.conman.parsers.jsons, org.conman.parsers.url.gopher, org.conman.parsers.url.sip,, org.conman.parsers.url.url, otouto-test, PegDebug, pegex, pgmoon, pgmoon, pgmoon-mashape, pmcli, prefix_tree, seawolf, sh-parser, sncl, sql2lua, telegram-bot-lua, tree, web_sanitize, web_sanitize, xcomposer, xmllpegparser