Re: lpeg v0.4
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lpeg v0.4
- From: "Anders Bergh" <anders@...>
- Date: 2007年1月17日 16:48:11 +0100
I've seen a lot of talk about LPeg here on the ML lately, but I
haven't really checked it out yet. Where is the project hosted?
On 1/17/07, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
Yet another version of LPeg. The main novelty is a static check for
loops, both in repetitions and in grammars, that avoids the creation of
patterns with infinite loops.
Besides that, as announced, I removed the label option in captures and
changed the order of arguments to match. The metatable was already
set, so we can write patt:match(subject).
The implementation of captures also uses less memory (half, in some
relevant cases).
I hope it will be more stable from now on.
-- Roberto
--
Anders