MIT licensed by Albert Krewinkel
Maintained by Albert Krewinkel
This version can be pinned in stack with:lpeg-1.1.0@sha256:895961adee9fa1bae2e124582427d7f1f45e9032a9671b9a7b38379dcf3116ef,3564

Module documentation for 1.1.0

Depends on 2 packages(full list with versions):
Used by 1 package in nightly-2024-06-21(full list with versions):

lpeg – Parsing Expression Grammars For Lua

GitHub CI Hackage Stackage Lts Stackage Nightly MIT license

This package contains the C sources of LPeg, as well as some tiny Haskell helper to load the package.

See also the official LPeg homepage



lpeg uses PVP Versioning.


Released 2023-09-27.

  • Update to the latest upstream version, LPeg version 1.1.


Released 2023-03-13.

  • Allow lua-2.3.

  • Cease support for GHC 8.2 and older; require base 4.11 or later.


Released 2022-01-29.

  • Allow lua-2.2.*.


Released 2022-01-29.

  • Allow lua-2.1.*.


Released 2021-11-08.

  • The ‘re’ package is a Lua script that’s part of LPeg. It is now included as a byte array in the C sources; a loader function for this library is provided, and ‘re’ is now handled by the lpeg searcher.


Released 2021-10-31.

  • A wild package appears.