ashtree74 / zxbasic-rust
Public1982 ZX Spectrum BASIC reimplemented in Rust → native + WebAssembly. An AI software-engineering experiment by Frontiers Lab. Live at experiments.frontierslab.ai/zxspectrum
zxbasic-rust is a faithful recreation of the classic 1982 ZX Spectrum BASIC computer that runs entirely in a modern web browser. It reimplements the original interpreter from scratch—including the screen display, keyboard input, graphics commands, and sound effects—using modern technology. You can write BASIC programs, run them, and experience the authentic look and feel of that vintage computer without any downloads or installations. The project also compiles to run as a regular desktop application.
How It Works
A friend tells you about a project that brings back the 1982 ZX Spectrum computer, and it runs right in a web browser without any downloads.
The screen lights up with the exact copyright notice you remember from childhood, and the flashing cursor invites you to type.
Your fingers remember the old commands. You type 10 PRINT "HELLO" and LIST to see your program sitting there, just like old times.
HELLO appears on screen with the authentic Spectrum colors. You try drawing graphics with PLOT and hear the BEEP sound.
You change the border color with BORDER commands, draw circles with CIRCLE, and hear the exact beeps you remember from decades ago.
The screen shows the authentic report line '0 OK, 0:1' when your program finishes, and you feel that same joy you felt as a kid with your first computer.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.