28 ms·
If so, it'd be more interesting if the lexer didn't barf on syntax error, but perhaps just skipped characters until it finds a valid token. And probably some si
by klabb3 4y ago
If so, it'd be more interesting if the lexer didn't barf on syntax error, but perhaps just skipped characters until it finds a valid token. And probably some similar "best effort" algorithm for the parser.
- fragmede 4y agofeed it through fuckit.js https://github.com/mattdiamond/fuckitjs/ https://github.com/mattdiamond/fuckitjs/ https://news.ycombinator.com/item?id=4157777 https://news.ycombinator.com/item?id=4157777
- DivineBicycle 4y agoThis is the funniest GitHub README I've read in a while