Lua Peg

lua-users home
wiki

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 3:22 am GMT (diff)