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:
https://github.com/QuiiBz/tsfuck/blob/main/tsfuck.tsIt supports all brainfucks commands, but might not cover some edge cases/have bugs.
Have you ever made something similar using TypeScript type system?