lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On Sun, Feb 1, 2015 at 12:38 PM, Roberto Ierusalimschy
> <roberto@inf.puc-rio.br> wrote:
> > LPeg is a powerful pattern-matching library for Lua, based on Parsing
> > Expression Grammars (PEG).
> >
> >   home page: http://www.inf.puc-rio.br/~roberto/lpeg/
> >
> > This new release fixes a few bugs; in particular, it corrects a small
> > incompatibility with Lua 5.3.
> 
> For those of us embedding LPeg in a project (Nmap in my case), an
> amalgamation file or Make target would be appreciated.

  cat lp*.c > lpeg.c
  gcc lpeg.c -shared -fPIC -o lpeg.so -I<whatever>

?

-- Roberto