Re:Six programming languages I’d like to see
by spc476 on Wednesday July 13, 2022 @04:40PM
(#32088475)
When I need to parse text with Lua, the first thing I reach for is LPeg. It's great when you can create a standalone expression to parse, say, an IPv4 address, then reuse that in a larger expression. And the data can be transformed as it's being parsed (say, converting a string of digits into an actual integer value).
I have a bunch of Lua modules based around LPeg: https://github.com/spc476/LPeg-Parsers