News for hackers. Stuff that matters.
Re:QBasic in the Browser by vahidce on Monday October 05, 2026 @03:49PM (#49969700)
QBasic was where a lot of us wrote our first code. I wanted that blue screen back, so I rebuilt QBasic 1.1 from scratch to run in the browser. Open a .BAS file from 1994 and it just runs: the graphics, the PLAY music, even the speed. I checked it against thousands of real programs running in DOSBox. No install or sign-up needed. My hobby these days is asking Claude to generate complex QBasic programs and then running them in QBasic. You can find them in gallery.

https://www.vahidyousefzadeh.com/qbasic/gallery

Re:QBasic in the Browser by jqpabc123 on Tuesday October 06, 2026 @07:24AM (#49976920)
Demo looks interesting but where is the VM and compiler?
Re:QBasic in the Browser by vahidce on Monday October 19, 2026 @04:15PM (#50157489)
a compiler (written in TypeScript) converts the .BAS into bytecode which is then executed by a virtual machine. I plan to release it as open source soon.