2 ms·
Your mileage may vary, but to my taste, the lpeg flavor of Parsing Expression Grammars is clearly superior. It uses operator overloading to build patterns from
by samatman 7y ago
Your mileage may vary, but to my taste, the lpeg flavor of Parsing Expression Grammars is clearly superior.
It uses operator overloading to build patterns from component parts. I don't think anything can replace the terseness of regex for command line use, or vim searching, cases like that.
But for a program, give me lpeg every time.