Yesterday, I made a Brainfuck interpreter using TypeScript types in ~40 lines of code for fun, because why not. Here's the file to look at: <a href="https://github.com/QuiiBz/tsfuck/blob/main/tsfuck.ts" rel="nofollow">https://github.com/QuiiBz/tsfuck/blob/main/tsfuck.ts</a><p>It supports all brainfucks commands, but might not cover some edge cases/have bugs.<p>Have you ever made something similar using TypeScript type system?