TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Brainfuck interpreter using TypeScript types

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

no comments

no comments