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-11 year ago517,213 downloads
1.0.0-12 years ago439,686 downloads
0.12.2-13 years ago19,409 downloads
0.12.1-13 years ago2,690 downloads
0.12-13 years ago48,029 downloads
0.11-23 years ago66 downloads
0.11-13 years ago47 downloads
0.10.2-13 years ago910 downloads
0.10-23 years ago1,562 downloads
0.10-13 years ago134 downloads
0.9-13 years ago530 downloads
0.8.1-13 years ago207 downloads
0.7-33 years ago208 downloads
0.7-23 years ago92 downloads
0.7-13 years ago48 downloads
0.6-23 years ago58 downloads

Dependencies

lua >= 5.1

Dependency for

annotate, annotate, Cosmo, Cosmo, environ, fusionscript, github, graphql, http, 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.email, 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.tel, 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

Labels

Manifests