A C compiler with a custom optimizing backend. Currently has a two-tiered graph-based static single assignment intermediate representation.
MNIST in Factorio
Python / PyTorch
A fully functional neural network that solves the MNIST digit classification task, built entirely within Factorio! The model is trained using PyTorch, then the weights are translated into an in-game blueprint.
Compiler Optimization and Analysis
C++ / C / LaTeX
Final report for an independent study on "Compiler Optimization and Analysis". Implemented various optimization and analysis passes.
ARCANE + ARCVM
C++ / CMake
ARCANE is a custom programming language frontend, while ARCVM is a compact, optimizing compiler backend featuring an SSA-based intermediate representation.
Personal Website
Python / HTML / CSS
A static site generator and Markdown parser built from scratch in Python, featuring single-pass generation and no external dependencies.
Image to BP Factorio
Python / Jupyter Notebook
This tool converts an image to a Factorio floor blueprint meant to be viewed in-game from the map.
Color Print CPP
C++
Lightweight and cross-platform single-header library for printing colors to the console. Includes other various ANSI escape sequences as well.
Small Profiler
C++
Simple header-only inline C++ profiling. Outputs a json that can be used with chrome://tracing or Perfetto as a frontend.