Tanner Sandlin

Personal Projects

Featured

TanScript

A statically typed, C-like language with a from-scratch compiler written in Rust that emits x86-64 assembly for Windows

Key features:

  • Full compiler pipeline built by hand: lexer, recursive-descent parser, preprocessor, type checker with local type inference, and a code generator with register allocation that emits NASM x86-64 assembly.
  • Static type system with sized signed and unsigned integers, chars, booleans, pointers, structs, and generics, plus explicit casts and implicit upcasting.
  • Enums and match statements over enums, integers, and chars, with a wildcard arm and a compile-time exhaustiveness check that rejects an enum match missing a variant.
  • Structs with C-compatible memory layout, copy semantics, and support for passing structs and pointers to structs between functions.
  • Implements the Win64 calling convention (shadow space, register and stack arguments, stack alignment) so TanScript code can call directly into the C runtime, such as printf and malloc.
  • Developed with Test Driven Development: 420+ unit tests and a golden test suite that compiles and runs real programs, including 15+ Project Euler solutions, a linked list, a quine, and an ASCII Mandelbrot renderer using fixed-point math.
  • Hardened with cargo-fuzz and a nightly Jenkins CI pipeline that reports status back to GitHub.
  • Developer tooling including a Language Server Protocol (LSP) implementation and a VS Code extension with syntax highlighting.
  • Now working toward self-hosting by rewriting the compiler in TanScript itself, starting with a complete lexer.
  • Rust logo

    Rust

TanScript preview
Real TanScript output: a 38-line program from the golden test suite that renders the Mandelbrot set using only integer math (fixed-point, 12 fractional bits), compiled to x86-64 and checked against this exact output on every test run.

CodeBattle

Real-time competitive coding: players join a room and race to solve the same prompt

Key features:

  • Rust game server (axum, tokio) that runs rooms, rounds, and players over a WebSocket protocol, with TypeScript bindings generated from the Rust types by ts-rs.
  • Supports JavaScript, TypeScript, Python, Go, Rust, C++, and Java. Every prompt has starter code and a harness in every language.
  • Submissions are judged against hidden test cases by sandboxed workers that pull jobs from a Redis queue. The workers run under gVisor on an isolated network, and seccomp filters limit compiled code to a short allowlist of syscalls.
  • Samples for JS and TS run in the browser inside a Web Worker, so feedback is instant while you type in the Monaco editor.
  • Public and private rooms, GitHub and Google sign-in, and a leaderboard backed by PostgreSQL, deployed as one Docker Compose stack with Jenkins CI.
  • Rust logo

    Rust

  • React logo

    React

  • TypeScript logo

    TypeScript

  • SQL logo

    SQL

  • Docker logo

    Docker

CodeBattle preview

More projects

Ray Tracer preview

Ray Tracer

A ray tracer in Rust, ported from my original C++ version, with BVH acceleration and data-parallel rendering across every core

Key features
  • Bounding Volume Hierarchy (BVH) acceleration structure that skips faces a ray can't hit, greatly reducing intersection tests.
  • Object instancing reuses mesh data across copies, keeping memory usage low and improving cache locality.
  • Supports .obj, .mtl, and .gltf file formats for easy importing of 3D models and materials, including a hand-written glTF deserializer built on serde.
  • Organized as a multi-crate Cargo workspace (geometry, materials, parser, and the renderer) with Rayon data-parallel rendering across all cores.
  • Ships as a CLI (clap) with live progress bars (indicatif).
  • Rust logo

    Rust

  • C++ logo

    C++

Lion preview

Lion

Lead developer of a TypeScript Discord bot with 30+ contributors that helps users and moderators run the UCF CS Discord server, serving 14,000+ users

  • TypeScript logo

    TypeScript

  • Discord.js logo

    Discord.js

  • MongoDB logo

    MongoDB

  • Docker logo

    Docker

DynamiCalc preview

DynamiCalc

A calculation notebook where variables are formulas: change one line and every line that depends on it updates, with dependency wires in the margin and a graphing page for functions of x

  • React logo

    React

  • TypeScript logo

    TypeScript

Budgie preview

Budgie

A budgeting app for recurring bills, grocery budgets, and one-time expenses. I was the lead front-end engineer for the website and helped oversee the Express.js API.

  • React logo

    React

  • Firebase logo

    Firebase

  • Flutter logo

    Flutter

  • ExpressJS

tmail

A from-scratch SMTP + IMAP mail server in Rust that runs my email every day, self-hosted on my home Linux server

Key features
  • Hand-written SMTP and IMAP protocol parsers — command/response types and a per-connection state machine, with no protocol crates.
  • Four-service architecture: SMTP ingest, IMAP server, and a RabbitMQ consumer that persists mail to PostgreSQL, all wired together with Docker Compose.
  • Compile-time-checked SQL via sqlx with versioned migrations; async services built on Tokio.
  • Integration test suite driving real IMAP flows (LOGIN, SELECT, FETCH, APPEND) against the running server.
  • Rust logo

    Rust

  • SQL logo

    SQL

  • Docker logo

    Docker

rs-http2

An HTTP/2 server built up from the binary protocol, serving static files at roughly 150k requests/sec

Key features
  • Full HTTP/2 framing layer — DATA, HEADERS, SETTINGS, PING, GOAWAY, RST_STREAM, WINDOW_UPDATE, PRIORITY, PUSH_PROMISE, and CONTINUATION.
  • HPACK header compression and the complete per-stream state machine (idle / open / half-closed / reserved / closed), each state modeled as its own type.
  • TLS via OpenSSL with ALPN negotiation and a per-core thread pool, serving static files at roughly 150k requests/sec on a Ryzen 9 7900X.
  • Rust logo

    Rust

BitTorrent Client

A BitTorrent client written from scratch in Rust that finds peers via trackers and the Mainline DHT and resumes interrupted downloads

Key features
  • Hand-written bencode encoder/decoder and implementation of the peer wire protocol, with SHA-1 verification of every downloaded piece.
  • Finds peers through HTTP trackers and the Mainline DHT (KRPC over UDP).
  • Downloads from many peers at once, one thread per peer.
  • Journals completed pieces to disk so a stopped download picks up where it left off instead of starting over.
  • Docker Compose test setup with a local tracker and five qBittorrent peers to test against real clients.
  • Rust logo

    Rust

  • Docker logo

    Docker

Open Deck

A reverse-engineered Elgato Stream Deck MK2 driver and web UI, shipped as one Rust binary

Key features
  • Reverse-engineered Elgato's first-party Stream Deck software to write an independent driver.
  • Polls the Stream Deck over raw HID and renders text/images onto its keys, with nested folder pages for organizing actions.
  • An axum web server with a WebSocket channel keeps the React UI in lockstep with the physical device; the compiled frontend is embedded into the binary, so distribution is a single file.
  • Drives the local Discord desktop client over its RPC IPC socket to join voice channels; cross-compiled for Linux and Windows in CI and published to a rolling release.
  • Rust logo

    Rust

  • React logo

    React