this post was submitted on 29 Oct 2025
18 points (95.0% liked)

Programming

23369 readers
431 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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
[โ€“] ron77@lemmy.world 1 points 1 week ago (1 children)

The code is on my HDD, and a portable version with Mingw32 and SDL2 (almost one GB in size) on my USB stick

put it on codeberg and github.. just to have a backup.. doesn't need to be public facing.