Pu

PuffinBASIC – A cross-platform modern BASIC interpreter written in Java

Hacker News

PuffinBASIC – A cross-platform modern BASIC interpreter written in Java

GitHub: https://github.com/mayuropensource/PuffinBASIC BASIC (Beginners' All-purpose Symbolic Instruction Code) is a general-purpose high-level language from the 1960s. PuffinBASIC is an implementation of the BASIC language specification. PuffinBASIC conforms most closely to GWBASIC. The purpose of this implementation is to learn how to write interpreters and resurrect an old programming language to work in modern ecosystem. The interpreter is evolving fast and in near future, I wish to apply modern interpreter building techniques to it. How it works? 1. PuffinBASIC's grammar is defined using antlr4. 2. At runtime, the user source code is parsed using antlr4 lexer+parser. 3. After parsing, an intermediate representation (IR) of the source code is generated. A symbol table keeps track of variables, scalars, arrays, etc. objects. 4. A runtime, processes the IR instructions and executes them. Performance PuffinBASIC is an interpreter, and it should not be expected to have very good performance characteristics. Certain operations such as PRINT USING, INPUT, etc. are not optimized for performance. I have not benchmarked PuffinBASIC primitives. That being said, we have written games with graphics in PuffinBASIC is work very well. TESSEL - A 2D Tile Game written in PuffinBASIC Source: https://github.com/mayuropensource/PuffinBASIC/blob/master/s... Link to YouTube video demo: https://youtu.be/L8xkM-g3Zms Memory PuffinBASIC runs within a JVM and can use as much memory as available for the JVM process. Compatibility PuffinBASIC is mostly compatible with Microsoft's GWBASIC. Graphics is supported using Java 2D graphics. PuffinBASIC will not support assembly instructions. Data Types PuffinBASIC has extended BASIC types and supports Int32, Int4, Float32, Float64, and String. Reference: https://github.com/mayuropensource/PuffinBASIC

Share card

Actual performance

36points
28comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, compatible · Missing: reddit linkedin, podcasting, created
92%92% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: user, using, code · Missing: mac, agents, macos
63%63% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
63%63% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: video · Missing: mobile apps, ios, personal
50%50% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform · Missing: plus, intuitive, reviews
37%37% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
15%15% 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.

Correct prediction on native model

Similar products

Ht
Htop 2.0 released, now cross-platform61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Htop 2.0 released, now cross-platform

Hacker News613
A
A cross-platform implementation of beep59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A cross-platform implementation of beep

Hacker News8
A
A cross-platform JWT Debugger67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A cross-platform JWT Debugger

Hacker News1
3D
3DGS.cpp – performant, cross platform Gaussian Splatting with Vulkan73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

3DGS.cpp – performant, cross platform Gaussian Splatting with Vulkan

Hacker News50
Ha
Hadouken – a cross-platform, extensible BitTorrent daemon63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hadouken – a cross-platform, extensible BitTorrent daemon

Hacker News12
Cr
Cross-platform Text Expander written in Rust71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cross-platform Text Expander written in Rust

Hacker News1
St
Strategr – cross-platform time management application written in C++58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Strategr – cross-platform time management application written in C++

Hacker News3
Cr
Cross-platform dotfiles manager written in Rust71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cross-platform dotfiles manager written in Rust

Hacker News2
A
A Modern C/C++ build tools (Simple, Fast, Cross-platform)67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Modern C/C++ build tools (Simple, Fast, Cross-platform)

Hacker News89
Cr
Cross-Platform Apple IIe Emulator Written in Go73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cross-Platform Apple IIe Emulator Written in Go

Hacker News103