Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 384 posts.

Programming Languages
2022
183

Incremental Parsing in Go

This post is an attempt to explain the incremental parsing algorithm aretext uses for syntax highlighting. Like the rest of aretext, parsers are implemented in Go for portability and performance. Most people do not consider Go a functional programming language; nonetheless, aretext’s parsers rely on functional…