[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Will Lua 6.0 have LPeg?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 4 Mar 2014 10:00:31 +0200
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!