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-12 years ago1,146,168 downloads
1.0.1-14 years ago706,258 downloads
1.0.0-15 years ago442,320 downloads
0.12.2-16 years ago19,787 downloads
0.12.1-16 years ago2,707 downloads
0.12-16 years ago49,991 downloads
0.11-26 years ago82 downloads
0.11-16 years ago57 downloads
0.10.2-16 years ago1,518 downloads
0.10-26 years ago1,721 downloads
0.10-16 years ago263 downloads
0.9-16 years ago681 downloads
0.8.1-16 years ago306 downloads
0.7-36 years ago304 downloads
0.7-26 years ago138 downloads
0.7-16 years ago58 downloads
0.6-26 years ago68 downloads


lua >= 5.1

Dependency for

alive, annotate, annotate, Cosmo, Cosmo, croissant, dd-lua-tester, ddt, digestif, environ, fusionscript, gh-md-toc, github, graphql, hectorm-fork-http, http, imagesize, inet, kong-lapis, kpgmoon, lapis, lcmark, Leg, Lift, llix, lluv-gsmmodem, lpeg_patterns, lq, ltcn, ltl, lua-aplicado, luadbd, luaepnf, luaepnf, luahaml, luajson, luajson, Lua-Lander, luamacro, luamacro, lua-parser, lua-parser, lua-pb, LuaPOD, lua-vcard, luma, luma, lunamark, lunamark, Lust, LXSH, mailgun, mooncake, moonscript, moonscript, moonscript, nginx-metrix, opeth-lasm, Orbit, Orbit, Orbit, org.conman.cbor, org.conman.parsers.abnf, org.conman.parsers.ascii, org.conman.parsers.ascii.char, org.conman.parsers.ascii.control, org.conman.parsers.ascii.ctrl,, org.conman.parsers.ini, org.conman.parsers.ip, org.conman.parsers.ip-text, org.conman.parsers.iso, org.conman.parsers.iso.char, org.conman.parsers.iso.control, org.conman.parsers.iso.ctrl, org.conman.parsers.json, org.conman.parsers.jsons, org.conman.parsers.soundex, org.conman.parsers.strftime, org.conman.parsers.url, org.conman.parsers.url.gopher, org.conman.parsers.url.sip, org.conman.parsers.url.siptel,, org.conman.parsers.url.url, org.conman.parsers.utf8, org.conman.parsers.utf8.char, org.conman.parsers.utf8.control, org.conman.parsers.utf8.ctrl, otouto-test, pathetic, PegDebug, pegex, pgmoon, pgmoon, pgmoon-mashape, pmcli, prefix_tree, seawolf, sh-parser, sncl, sproto, sql2lua, telegram-bot-lua, tree, tulip, web_sanitize, web_sanitize, xcomposer, xmllpegparser