Settings

Theme

Show HN: Brainfuck interpreter using TypeScript types

github.com

2 points by QuiiBz 3 years ago · 0 comments · 1 min read

Reader

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.ts

It supports all brainfucks commands, but might not cover some edge cases/have bugs.

Have you ever made something similar using TypeScript type system?

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection