[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Can LPeg parse PNG?
- From: "Soni L." <fakedme@...>
- Date: Fri, 9 Dec 2016 22:10:35 -0200
Here's a little challenge for y'all: Can good ol' LPeg parse the 4
critical chunks of a PNG?
I was told PNG is a regular language, in the sense that you can validate
any PNG chunk with a VERY VERY VERY LONG regex.
Well, LPeg is better than regular, so it might be able to do it better
than regex. Can LPeg beat regex at PNG validation?
--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.