A fork of AlanBBOS rewritten (quickly) in TypeScript