Hi everyone ๐Ÿ‘‹ I wanted to share a little project I've been working on: rbbasic, a BASIC programming language compiler I'm writing in C++.

The idea is simple โ€” and a bit nostalgic: It's a transcompiler that converts BASIC code into C, then compiles it using GCC into an executable.

๐Ÿ› ๏ธ Current Status

Early alpha stage

Only basic features implemented (closer to a primitive GW-BASIC for now)

Still missing a lot of built-ins and syntax features

Focused on Windows right now โ€” Linux support coming

The long-term dream is something like QB64-lite, maybe focused more on GW-BASIC style

๐ŸŽฏ Goals

See if I can actually build a working BASIC compiler ๐Ÿ˜…

Recreate the feel of GW-BASIC / QBasic on modern systems

Eventually MIT-licensed and published on GitHub

Mostly a personal hobby project right now โ€” not aiming at mass adoption

Possibly demoing progress soon on my YouTube channel

โ“ Why am I doing this?

Honestly... curiosity and love for BASIC. I code mostly in retro-style languages (FreeBASIC, QB45, Euphoria, etc.), so it feels natural to try building my own compiler even if better tools already exist today.

๐Ÿ’ฌ Feedback welcome

Iโ€™d love your thoughts, advice, or suggestions. If anyone here has experience writing compilers, transpilers, or retro programming tools, Iโ€™d really appreciate hearing about your journey too.

Thanks for reading & happy coding! โœจ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [S] 1 point 1 year ago

Okay, here it is on GitHub public repository. I registered on GitHub just for that; however, don't get your hopes too high, it's still in early alpha state - it's not "full-featured gwbasic / qbasic compiler" yet, the README files and documentation are way, way too promising: https://github.com/ronen-blumberg/rbbasic

  • source