PhiScript is a mod loader and a library for developping mods for RimWorld.
PhiPatcher is an executable that alters the MSIL code of RimWorld to make it do additional operations (such as event hooks, mod initialization and else) during the course of the game.
PhiScript loads mods and offers them helpers methods to subscribe to events of the game and manipulate the state of it.