[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lpeg as a part of lua (was: An introduction to Lua)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 24 Oct 2017 07:57:47 +0200
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.
- References:
- lpeg as a part of lua (was: An introduction to Lua), szbnwer@<a href="/cgi-bin/echo.cgi?gmail.com">...</a>
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Jonathan Goble
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Jonathan Goble
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Jonathan Goble
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Jonathan Goble
- Re: lpeg as a part of lua (was: An introduction to Lua), Sean Conner
- Re: lpeg as a part of lua (was: An introduction to Lua), Jonathan Goble