bwBASIC: The Bywater BASIC Interpreter

Bywater BASIC Interpreter is a simple open-source BASIC interpreter, supplied with a series of example BASIC programs.

The Bywater BASIC Interpreter (bwBASIC) implements a large superset of the ANSI Standard for Minimal BASIC (X3.60-1978), a significant subset of the ANSI Standard for Full BASIC (X3.113-1987), and many classic BASIC dialects in C.

bwBASIC seeks to be as portable as possible. It can be configured to emulate features, commands, and functions available on different types of BASIC interpreters.

Bywater BASIC is written in C, and runs on Unix-like and DOS-based systems (including Windows).

bwBASIC implements one feature not available in previous BASIC interpreters: a shell command can be entered interactively at the bwBASIC prompt, and the interpreter will execute it under a
command shell.

For instance, the command “dir *.bas” can be entered in bwBASIC (under DOS, or “ls -l *.bas” under UNIX) and it will be executed as from the operating system command line. Shell commands can also be given on numbered lines in a bwBASIC program, so that bwBASIC can be used as a shell programming language. bwBASIC’s implementation of the RMDIR, CHDIR, MKDIR, NAME, KILL, ENVIRON, and ENVIRON$() commands and functions offer further shell-processing capabilities.

Website: sourceforge.net/projects/bwbasic
Support:
Developer: Ted A. Campbell, Jon B. Volkoff
License: GNU GPL v2