Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: