← Back
Software
Jactorio →
Recreation of the game Factorio.
OpenGL for rendering and loads runtime data using Python. Written in C++17, built via CMake, with automated builds running on Microsoft Azure.
C Compiler →
A C99 compiler I wrote, in C.
It currently supports all the basic language constructs: conditionals, loops, expressions, arrays, pointers, function calls.
It uses recursive descent to build an AST. The AST is translated to an intermediate language, then converted into assembly via macro expansion and register allocation with graph coloring.
Aircraft Realism →
Framework to add aircraft to the game Factorio, the API is documented here.
Takeoff/landing is imitated using two cars with different collisions, one for the grounded plane, another for the airborne plane.