[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lpeg v0.4
- From: roberto@... (Roberto Ierusalimschy)
- Date: Wed, 17 Jan 2007 12:55:16 -0200
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