Br

Brainfuck interpreter using TypeScript types

Hacker News

Brainfuck interpreter using TypeScript types

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?

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: using, code · Missing: mac, agents, macos
56%56% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersIH features products with proven revenue · Strong signals: supports · Missing: reddit linkedin, podcasting, created
49%49% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Missing: https docs, excited, just released
45%45% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
20%20% predicted probability of success on BetaList, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Nu
Nullable Types in TypeScript46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nullable Types in TypeScript

Hacker News1
ss
ssr-sample – a sample of SSR and SPA using typescript30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ssr-sample – a sample of SSR and SPA using typescript

Hacker News1
Ty
TypeScript implementation of X3DH using Libsodium36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TypeScript implementation of X3DH using Libsodium

Hacker News1
Fu
Functional data types for TypeScript development62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Functional data types for TypeScript development

Hacker News2
Wo
Wordle Implemented in TypeScript Types51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Wordle Implemented in TypeScript Types

Hacker News2
A
A C-style language interpreter implemented by the TypeScript types46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A C-style language interpreter implemented by the TypeScript types

Hacker News2
Ex
Extra Types for TypeScript51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Extra Types for TypeScript

Hacker News1
Ge
Generate TypeScript Types from JSON Samples56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Generate TypeScript Types from JSON Samples

Hacker News5
Ty
TypeScript types that conform to JSON schemas without code generation55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TypeScript types that conform to JSON schemas without code generation

Hacker News17
Ty
Typescript-starter: use ES7, export an ES6 module, gen docs using types25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Typescript-starter: use ES7, export an ES6 module, gen docs using types

Hacker News2