lua-users home
lua-l archive

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


I have released a new version of LPeg (0.5). The main changes are
several optimizations, which should make LPeg much faster for several
common tasks. (On the other hand, these optimizations make patterns
less regular, and therefore more difficult to test...)

The only change in the API is that now lpeg.P accepts booleans, too.
(lpeg.P(false) is a pattern that always fails; lpeg.P(true) is a
pattern that always succeeds.)

The documentation has some new examples, a proper license, and several
small improvements.

-- Roberto