danawanb | Danawan Bimantoro

tinkering

Parser by hand

Last year, I stumbled upon this dude somehow writing a SQLite parser by hand in Rust: Turso PR. Parsing probably sounds scary if you come from a high-level language, but the TL;DR is simple: parsing just generates the AST structure from tokens/code. As always in CS, the devil is in the details—so I decided to write my own parser.

Read More

Init

I'm a programmer who enjoys writing code directly from the terminal, and I care a lot about performance, slow systems bother me more than they should and of course they're ubiquitous.

Read More