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.1.0-2202 days ago135,234 downloads
1.1.0-11 year ago314,552 downloads
1.0.2-16 years ago3,165,820 downloads
1.0.1-18 years ago709,084 downloads
1.0.0-19 years ago447,000 downloads
0.12.2-110 years ago21,134 downloads
0.12.1-110 years ago2,778 downloads
0.12-110 years ago50,410 downloads
0.11-210 years ago170 downloads
0.11-110 years ago124 downloads
0.10.2-110 years ago2,849 downloads
0.10-210 years ago1,943 downloads
0.10-110 years ago561 downloads
0.9-110 years ago896 downloads
0.8.1-110 years ago395 downloads
0.7-310 years ago398 downloads
0.7-210 years ago348 downloads
0.7-110 years ago125 downloads
0.6-210 years ago136 downloads

Dependencies

lua >= 5.1

Dependency for

alive, annotate, annotate, apkbuild, atlas, cascproxy, citeproc-lua, com.logiceditor.fork.LXSH, Cosmo, Cosmo, cpp-compiler-pretty-output, croissant, dd-lua-tester, ddt, digestif, Ena, environ, fusionscript, gh-md-toc, github, graphql, hectorm-fork-http, http, imagesize, inet, ini.lua, jsonpath, kong, kong-lapis, kong-pgmoon, kpgmoon, lapis, lcmark, Leg, leo, Lift, llix, lluv-gsmmodem, lpeg-bibtex, lpeg_patterns, lq, ltcn, ltl, lua-aplicado, luadbd, luaepnf, luaepnf, luahaml, luajson, luajson, Lua-Lander, luals2dox, luamacro, luamacro, luamacro, lua-openai, lua-parser, lua-parser, lua-pb, LuaPOD, lua-resty-ldap, lua-Spore, lua-string-template, lua-vcard, luma, luma, lunamark, lunamark, lunamark, Lust, LXSH, mailgun, MHLuaXML, modest, mooncake, moonscript, moonscript, moonscript, ndb.lua, 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.email, 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.tel, 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, pgmoon-mashape, pgmoon-sm3, pmcli, prefix_tree, robotstxt, santoku-html, seawolf, sh-parser, sile, sncl, sproto, sql2lua, tapis, telegram-bot-lua, telegram-bot-lua, tree, tulip, web_sanitize, web_sanitize, xcomposer, xmllpegparser

Labels

Manifests