/usr/bin/projects

Compiled binaries and ongoing experiments.

~/result.hpp
$ ./result.hpp

A lightweight, header-only, C++20 Result type for ergonomic error handling.

C++20 error-handling header-only functions
~/lox tree-walk interpreter
$ ./ltwi script.lox

A C++ implementation of the Lox language from Crafting Interpreters. This project features a full tree-walker interpreter built from scratch in about 3000 lines of modern C++. It supports expressions, variables, functions, control flow, class inheritance, and static methods. Faithfully recreates jlox’s behavior and design.

C++20 interpreter tree-walk lox