Hi all,
I wanted to tease a side project I've been building: RetroQ, a BASIC dialect close to RapidQ that transpiles straight to JavaScript. No public release yet, but figured this crowd would appreciate an early look.
What it does so far:
- Full core language:
DIM/CONST,IF/ELSEIF/ELSE,FOR/WHILE/DO...LOOP,SUB/FUNCTION, arrays, string & math builtins. NoGOTO/GOSUB— structured control flow only, on purpose. - A small GUI subset (
FORM,LABEL,BUTTON,EDIT,CHECKBOX) that maps onto WinBox.js windows styled with 7.css — BASIC programs run as real draggable, resizable windows in the browser. - Just wired up a custom Aero-glass theme on top of that, so the windows now genuinely look like Windows 7: translucent frame, blue/red buttons, no fullscreen button (kept it faithful to the original).
A quick taste of the syntax:
CREATE Form1 AS QFORM
Caption = "Hello"
CENTER
CREATE Button1 AS QBUTTON
Caption = "Click me!"
Left = 20
Top = 60
END CREATE
END CREATE
Form1.Show()
SUB Button1_OnClick()
Label1.Caption = "Clicked!"
END SUB
That transpiles to plain JavaScript — no build step, runs directly in the browser (or under Node for console-only programs, complete with PRINT/INPUT).
Still polishing before a proper release — more widgets and events are next — but curious what fellow BASIC folks think of the approach. Screenshot attached.

