News for hackers. Stuff that matters.
Re:PEG Parsers by sayrer on Monday July 22, 2019 @10:32PM (#20503990)
Yeah, that's why they're tricky. They will often produce /something/, but it might not be what the author expects.

Here's a PEG for tweets: https://github.com/sayrer/twitter-text/blob/master/parser/sr...

It would not have been practical to write in the absence of the huge existing test suite.

There are no comments on this comment yet.