Lua Peg

lua-users home
wiki

Difference (from prior major revision) (minor diff)

Changed: 30c30
=== Reimplementations ===
=== Forks/Reimplementations ===

Added: 31a32
* [LPegK] - Yieldable LPeg. LuaList:2012-02/msg00018.html

Changed: 36,38c37,38
[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.
* [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.

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

See also


RecentChanges · preferences
edit · history
Last edited February 4, 2012 2:22 am GMT (diff)