🌓

Archive

Estimated reading time: 1 mins

June 5, 2021 Packrat Parsing from Scratch How to implement a packrat parser from scratch, one easy piece at a time.
May 29, 2021 PEGs and the Structure of Languages How Parsing Expression Grammars help us (and computers) understand the structure of programming languages.
May 23, 2021 Load-Bearing C Projects A guide to building and maintaining nontrivial C projects of high quality.
April 3, 2019 6 Useful Snippets A handful of useful programming concepts that can each be implemented in under 20 lines of code.
June 1, 2017 Hill Noise A new approach to random noise generation with novel mathematical properties.
February 14, 2017 Meandering Triangles An in-depth explanation of the Meandering Triangles algorithm for drawing contour lines.
February 2, 2017 A Faster Weighted Random Choice Performing fast random selection with non-uniform weights is trickier than you might imagine.