TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Brainfuck interpreter using TypeScript types

2 点作者 QuiiBz将近 3 年前
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?

暂无评论

暂无评论