[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: clumsiness of pcall() syntax and how we deal with it
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 28 Apr 2015 19:31:31 +0200
2015-04-28 18:53 GMT+02:00 Andrew Starks <andrew.starks@trms.com>:
> I currently believe that an integrated macro library, written with the
> same wisdom and care that Lua was authored with, is the most exciting
> possibility for future Lua.
>
> It is vaccination the inevitable death march towards Language
> Bloat.[2] Lua has avoided this thanks to the development model.
> However, perhaps PUC/Rio could ensure their legacy by providing us
> with macros before they retire. :)
They have. They gave us a string library and an LPeg module,
plus a "load" function. Exercise for the reader: exploit these to
write a "define" function.