wwwBASIC is a JavaScript-based implementation of the classic BASIC programming language designed to run seamlessly in web browsers and Node.js environments. Created by Google, it allows developers and enthusiasts to write and execute BASIC programs directly within HTML pages or via command-line tools. The interpreter compiles BASIC source code into JavaScript at load time, enabling efficient execution within modern web environments without requiring external emulators or plugins. It supports traditional BASIC constructs such as loops, conditionals, and I/O operations, along with 24-bit color graphics functions (PSET, LINE, CIRCLE) and input handling (INKEY$, GETMOUSE). wwwBASIC brings retro programming into the modern web era, making it ideal for educational purposes, historical software preservation, and interactive demonstrations

Features

  • Runs BASIC programs directly in web browsers or Node.js
  • Supports graphics commands (PSET, LINE, CIRCLE) with 24-bit color
  • Handles input via keyboard and mouse (INKEY$, GETMOUSE)
  • Parses and compiles BASIC code to JavaScript at load time
  • Includes sample programs such as DONKEY.BAS and Polar Grapher
  • Fully open source under the Apache 2.0 license

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow WWWBasic

WWWBasic Web Site

Other Useful Business Software
Simple, Secure Domain Registration Icon
Simple, Secure Domain Registration

Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
Sign up for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WWWBasic!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript, Unix Shell

Related Categories

Unix Shell Libraries, JavaScript Libraries

Registered

2025-10-11