LPeg is a pattern-matching library based on parsing expression grammars ([PEG]).
Web site: http://www.inf.puc-rio.br/~roberto/lpeg/
Description
A nice introduction to PEGs in Lua, [Around PEGs], was written by GavinWraith.
Building LPeg on Windows
cl /c /nologo /DWIN32 /DWIN32_LEAN_AND_MEAN lpeg.c
link /dll /out:lpeg.dll lpeg.obj /nodefaultlib:libc /export:luaopen_lpeg msvcrt.lib lua5.1.lib
Author
RobertoIerusalimschy
Projects that use LPeg
Forks/Reimplementations
Papers
- [1] Ierusalimschy, R. (2009), "A text pattern-matching tool based on parsing expression grammars", Software: Practice & Experience 39 #3: 221–258.
- [2] Medeiros, S.; Ierusalimschy, R. (2008), "A parsing machine for PEGs", Proc. of the 2008 symposium on Dynamic languages, art. #2.
See also
RecentChanges · preferences
edit · history
Last edited February 4, 2012 3:22 am GMT (diff)