Si

Simple Brainfuck Interpreter in Python

Hacker News

Simple Brainfuck Interpreter in Python

Yesterday I had some free time and decided to have fun with the brainfuck language [0]. Its concepts seemed simple enough that I thought I could make an interpreter in 30 minutes. It took a little bit more because of loops, but I had a lot of fun building it. I even woke up earlier today just to make it work with nested loops. Here's the link if someone wants to check it out [1]. The "magic" is mostly on the eval loop [2]. There was this thread yesterday on how to rediscover the joy of programming [3]. I think that implementing simple interpreters in your language of choice may be a way to have some fun! [0] https://repl.it/languages/brainfuck [1] https://github.com/joaoventura/brainfuckvm [2] https://github.com/joaoventura/brainfuckvm/blob/master/brainfuck.py#L27 [3] https://news.ycombinator.com/item?id=22860682

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: ide · Missing: https docs, excited, just released
78%78% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
51%51% 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
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: new · Missing: mac, agents, macos
21%21% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Sl
Slog, a simple logger for Python49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Slog, a simple logger for Python

Hacker News1
A
A Simple Nonlinear Autoencoder in Python51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Simple Nonlinear Autoencoder in Python

Hacker News4
Op
OpenCV Wrapper – A simple wrapper for opencv-Python36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenCV Wrapper – A simple wrapper for opencv-Python

Hacker News6
Ld
Ldapper – A simple, ergonomic Python ORM for interacting with LDAP64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ldapper – A simple, ergonomic Python ORM for interacting with LDAP

Hacker News9
Si
Simple text classification with python46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple text classification with python

Hacker News2
A
A simple Python abstraction for Llama2 Chat51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple Python abstraction for Llama2 Chat

Hacker News2
Bo
BotFleet - Simple Cloud Functions for Python53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

BotFleet - Simple Cloud Functions for Python

Hacker News1
Si
Simple PDF Annotations in Python60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple PDF Annotations in Python

Hacker News4
Cu
CustomStringParser ( Python)54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CustomStringParser ( Python)

Hacker News1
Do
Do/While in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Do/While in Python

Hacker News4