Projects

  • CSS Parser

    My dream is to write programming languages professionally. I also dream of being able to write Rust and not fight with the borrow checker. That's why I tried my hand at writing a toy CSS parser in Rust. It follows the CSS 3 spec, though is far from complete. This was my first time writing a parser that followed an established spec - although initially terse, the spec helped a ton with my implementation.

    Read more View on GitHub
  • Pascal Compiler

    My first venture into learning how to write a compiler, I followed along with Writing Compilers and Interpreters: A Software Engineering Approach. I learned a lot from this book and project, including different techniques to parsing a grammar, how compilers are typically structured, and how to provide helpful error messages that point out the exact issue in the source code. This was also the project I used to learn TypeScript.

    Read more View on GitHub
  • Conway's Game of Life

    My attempt at implementing Conway's Game of Life. Written in TypeScript using the WebGL API. I initially implemented this using the standard DOM API, which proved to be slow. In an effort to get better performance and to learn how to write shaders, I ported it to use WebGL. I think more time went into learning how to play the Game of Life than actually implementing it.

    Check it out View on GitHub
  • Trampoline TS

    A small package I wrote because I needed to emulate tail-call optimizations and none of the existing packages were type safe. The package sports 100% code coverage (including tests for the more complicated types), and uses semantic-release to automate the build process.

    Read more View on GitHub
  • TF2Outpost Price Integration

    A Chrome Extension I wrote in college (and rewrote in 2014) that pulls TF2 item prices from backpack.tf's Price API and maps those prices to items on TF2Outpost. The extension gives the user the ability to configure various settings via a "Page Action" that are updated live. Since backpack.tf's API requires an API user token, I wrote a caching and proxy server in node which can be seen here.

    Check it out View on GitHub
  • My Dotfiles

    My attempt at synchronizing settings between my desktop running Arch Linux and my MacBook Pro. I use a bootstrap script that I wrote to detect the current OS, detect the current package manager, install a package manager if one was missing, install any missing dependencies, and symlink my dotfiles from the repo to their appropriate locations using GNU Stow.

    Read more View on GitHub
  • Personal Site

    My attempt at creating my own, custom portfolio site from scratch. It was originally written in PHP when I was college, but was completely rewritten in 2013 to get a better feel for Node.js. I've since rewritten it again in 2020 to be simpler, use a proper build process, and use TypeScript.

    Read more View on GitHub
  • No BuzzFeed

    A small Chrome extension I wrote at the request of a friend. The extension scrapes Facebook for any BuzzFeed posts and removes them from the DOM. My goal was to make it as small as possible and have no external dependencies, while still being configurable and a fully installable Chrome Extension. I managed to make it in 51 LOC.

    Read more View on GitHub
  • Scrum Poker

    A small web app I made that helped with estimating points for tasks at the beginning of sprints. My goal was to rely on JavaScript as little as possible and try to achieve as much as possible with CSS3. The only things that require JavaScript are loading of different point units, and applying a few classes. The site can be seen here.

    Check it out View on GitHub