Madeline Schade

occasionally productive

tabular

ask about

A spreadsheet from scratch, over DuckDB.

Oct 2026 · Go · DuckDB · Next.js

I find data fascinating. Excel is what business runs on, and still the interface to beat, even though everyone hates it. So I’m building a spreadsheet from scratch. It’s early, and changes a lot.

The formula engine

A hand-written lexer and parser with Excel’s operator order, quirks included, its error values, and about 25 functions, in roughly a thousand lines of Go.

=-2^2          4
=1/0           #DIV/0!
=SUM(spend.cost)

Recalculation

Cells and whole tables are nodes in one dependency graph. =SUM(spend.cost) depends on the table, so it keeps working as the view grows or shrinks. Cells caught in a cycle become #CIRC!.

Live or frozen

A view can re-run whenever its data changes, show its latest snapshot, or stay pinned to an old one. Snapshots are plain tables, so comparing this month with last is a SQL query.

The lake

Data lives in folders of Parquet files. Each append is written beside the folder and renamed in, so a reader never sees half of one. Drop a CSV or Excel file on the page and it becomes a source.

Hosting it

Each signed-in person gets their own DuckDB, confined to their folder, with no network, a memory budget, and its settings locked so SQL can’t undo any of it.

Behind a login. Ask me about it →