Software

August 17, 2025

Some of the software I’ve written or I’m working on.

Far from complete!

Projects

orion - project to build a new programming language and compiler. Compiles from source to object files. Written in C, with only the standard library as dependencies. Still work in progress, and has it’s own backend that will be factored out for building other compilers.

g1 (game 1) - a small top down shooter game.

Libraries

Single header

ptest.h - minimal unit testing library for C. Snapshot of source available here.

wc.h - wirecode. A tag-length-value encoding format which is easily used in C. Inspired by upb. Requires clang for the C kernels (requires tail calls for bounded stack use). A snapshot of the source is available here.

Multiple file

phbase - base utilities for working in C. Dynamic arrays, arena allocators, hash tables, utf-8 decoder amongst other things.

Tools

broot - brutalist build sandboxing for linux. Discussed here, single file source available here.