lua-users home
lua-l archive

Re: lpeg as a part of lua (was: An introduction to Lua)

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


2017年10月24日 0:18 GMT+02:00 Jonathan Goble <jcgoble3@gmail.com>:
> I might make a deep dive into LPeg and experiment with writing
> a module that reimplements the entire Lua pattern system using
> LPeg.
This question was raised before:
http://lua-users.org/lists/lua-l/2014-03/msg00065.html
Richard Hundt claimed to have done it in his Nyanga project:
http://lua-users.org/lists/lua-l/2014-03/msg00081.html
which was renamed to Shine shortly aftwards. It's a Python-flavoured
(class, import etc) dialect of LuaJIT, with some syntactic sugar that
others on this list have also asked for ("local floor, huge in math" etc).
Well worth a look IMHO. Most recent commit a year ago, which in this
case seems to mean it is stable rather than defunct.

AltStyle によって変換されたページ (->オリジナル) /