LPeg

LPeg is a pattern-matching library for Lua, used in the implementation of the Céu compiler.

site LPeg homepage.

On Debian-like Linux distributions (Ubuntu, Xubuntu, etc.), you can easily install LPeg with:

sudo apt-get install liblua5.1-lpeg2

You can also download one of the following pre-compiled versions, rename to lpeg.so, and place it on your Céu directory:


 * LPeg 32 bits

$ file lpeg.32.so.6 lpeg.32.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped $ ldd lpeg.32.so.6 linux-gate.so.1 => (0xb788b000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb76f2000) /lib/ld-linux.so.2 (0xb788c000)


 * LPeg 64 bits

$ file lpeg.64.so.6 lpeg.64.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped $ ldd lpeg.64.so.6 linux-vdso.so.1 => (0x0000036dd913c000) libc.so.6 => /lib/libc.so.6 (0x0000036dd8bcf000) /lib64/ld-linux-x86-64.so.2 (0x0000036dd913d000)