lpeg

Install command:
brew install lpeg

Parsing Expression Grammars For Lua

https://www.inf.puc-rio.br/~roberto/lpeg/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/lpeg.json

Formula code: lpeg.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.1.0

Revision: 2

Depends on when building from source:

lua 5.5.1 Powerful, lightweight programming language
luajit 2.1.1794386141 Just-In-Time Compiler (JIT) for the Lua programming language

GitHub Packages downloads:

Last 30 days87,476
Downloads2,036,075
Analytics install events (30 days)7,960
Downloads / install events (30 days)11.0×

Source: GitHub Packages, fetched 2026-11-17T00:55:09Z. Analytics dates: 2026-10-18 to 2026-11-17. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs7,96017,512107,840
Installs (--HEAD)003
Installs on Request391081,051
Installs on Request (--HEAD)003
Build Errors0