lua-users home
lua-l archive

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

On Mar 4, 2014, at 12:00 AM, Dirk Laurie <> wrote:

> Is LPeg useful enough to justify how very much larger
> Lua's C source code will become if it is included?
> IMHO, if the gain will merely be that the ordinary user
> would no longer need to build/download it separately
> (which LuaRocks can do for you) and require it (which
> takes one line of code), the answer is NO.
> On the other hand, if the Lua implementation itself exploits
> it for its lexer/parser/VM encoder and its string library,
> thus demonstrating how useful it can be while at the same
> time providing some highly instructive well-written LPeg
> code, the answer is YES!

I guess that depends on how much larger it is …