lua-users home
lua-l archive

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


2014-08-23 7:12 GMT+02:00 Andrew Starks <andrew.starks@trms.com>:
> The description and mission that is stated for Lua seems out of step with
> LPeg. I say this because of LPeg's size, relative to Lua and because it's
> not minimalistic, as Lua is. (Although it is minimalistic, compared with
> other tools in specialized use cases.)
>
> If it's at all interesting to the authors: if Lua were imagined as a
> replacement for Pearl, including LPeg in place of regex, what might it look
> like?
>
> -Andrew

This post must have had a subliminal influence on me, since on 19 July 2015
I wrote the attached script and put it in my execution path as 'pegl'.

Attachment: pegl
Description: Binary data