BASIC Programming Resources and Chipmunk Basic Home Page
BASIC Programming Language Resources,
information about
Chipmunk Basic for Mac OS,
 
Chipmunk Basic for Linux & Windows,
and
HotPaw Basic for PalmOS handhelds.
by Ronald H. Nicholson, Jr.
BASIC
(an acronym for "Beginner's All-purpose Symbolic Instruction Code")
is the name of a family of related high-level programming languages,
developed, circa 1963 at Dartmouth College,
to provide an accessible and easy-to-learn environment
for non-science students to understand and use computers.
In the early 1980's, the Basic programming language was built-in
to the majority of personal computers sold.
Chipmunk Basic
Chipmunk Basic for Mac OS
Chipmunk Basic for Mac OS is an old-fashioned Basic interpreter which
runs on almost all Apple Macintosh computers.
Chipmunk Basic uses a vintage traditional-style command-line console
(but note that line numbers are not required to run Basic program
written using an external text editor).
Supported features on Mac OS X include color graphics, sprites,
sound (including Quicktime MIDI sounds and morse code), speech synthesis,
matrix ops, AppleScript, network sockets, pipes, serial I/O,
and even some rudimentary OOP (object oriented programming) capabilities.
Versions are available for System 6.0.7 thru
Mac OS X
10.4,
for systems from very old Mac 512Ke's, up thru the latest
G5 PowerMacs &
Apple
Intel
iMacs &
MacBooks.
Chipmunk Basic is copyrighted freeware.
Chipmunk Basic Documentation
-
Chipmunk Basic Readme, FAQ & Quick Reference . .
and . .
Language Manual
NOTE: Only the Quick Reference contains information about
the Mac specific graphics, sound and user interface features.
-
Chipmunk Basic Language Manual -
BASIC Language Reference man page,
and a linux/unix
(man/nroff formatted basic man page)
- HTML
Reference Manual for Macintosh version of Chipmunk Basic
(1997 vintage,
and frames version), contributed by
Stephen Wise.
- And a
framed cross-referenced HTML version of
Chipmunk Basic documentation,
contributed by Jim DeVona.
- A Tutorial on programming in Chipmunk Basic :
Tutorial:
Chapter 1 ,
Chapter 2 ,
Chapter 3 and
Chapter 4. -
(Contributed by
Thomas L. Ferrell.)
- Mr. Whitmore's BASIC Programming Page
from the Norris Middle School in Bakersfield, California
(includes tutorial material, worksheets and class assignments)
- Contributed
Note on GIF animation
(using Chipmunk Basic on a Mac) - by Mark Manning
- Contributed documentation on
Developing BCMD's (plug-in code resources for Chipmunk Basic)
- by Doug McNutt
- Old
Notes on OOP (object oriented programming) for v3.3.8
- Chipmunk Basic was featured in the
Programming Paradigms column of the December 1995 issue
of Dr. Dobb's Journal.
-
MacUpdate page on Chipmunk Basic
-
Chipmunk Basic Home Page (You are here.)
Examples:
-
Classic Basic Programs,
modified for Chipmunk Basic
- Some
Sample Chipmunk Basic Programs
- Some
Digital Signal Processing and FFT
example code for Chipmunk Basic
-
More Sample Chipmunk Basic Programs
-
Classic Basic Games (generic,
including the Creative Computing collection
samiam @ moorecad #&046 com)
(older link)
-
A large collection of Classic Basic programs
including
BASIC Computer Games by David Ahl.
Some ports of Chipmunk Basic for other systems
Chipmunk Basic for MS Windows
- Download
Chipmunk Basic for MS Windows2000/XP version 3.6.4(b7)
(200k .zip archive, containing a command-line basic utility
and
a chipmunkbasic applicaiton with some limited graphics support,
2007-Dec-14 update).
Chipmunk Basic for Linux
- Download Chipmunk Basic for Linux/x86 version 3.6.4(b7)
(124k .zip file,
x86/ia32 executables + man page, no source,
command-line-only port, some limited X11 graphics,
includes support for OOP, matrix ops, fft's,
file i/o, sdbm databases, getenv, sockets, pipes, fork, etc.
Has even been used for web cgi.
)
- linux man page for basic  
( text format )
 
( unix man/nroff formatted for /usr/local/man/man1/ )
Chipmunk Basic for a few other UNIX Systems
HotPaw Basic for PalmOS handhelds
BASIC Programming Language Resources
General Information about the Basic Programming Language
Versions of Basic with Source Code for their implementation
Basic Interpreters and Compilers which have full Source Code
available for their implementations:
-
Yabasic 2.7 -
(Basic interpreter written using flex, bison & C,
ports for unix/linux & Win98/NT)
(Open Source under Artistic License).
Written/Maintained by:
Marc-Oliver Ihm
- The
SmallBASIC Interpreter - PalmOS and Linux
(C source, GPL'd)
by Nicholas Christopoulos
-
Basic 256 (formerly KidBasic), for Windows and Linux
(C++, LEX, YACC, source, uses Qt, GPL'd)
- The
The Brandy Basic V Interpreter
(C source for Acorn RISC OS, BSD, Mac OS X; GPL'd)
by dave_daniels @argonet.co.uk
-
ScriptBasic or
(scripting Basic, C source, LGPL'd)
-
wxBasic - a Basic interpreter for MSWindows and Lunix
(LGPL'd source code)
- Blassic
- a classic Basic interpreter
(linux and MSWindows ports.
ninsesabe@arrakis.es, GPL'd source code)
-
MiniBasic - ANSI C source (very liberal license)
There's also a book on
this interpreter by Malcolm Mclean.
-
fbasic.c - simple Basic interpreter
(C source code ,Copyrighted 2001 by Fridtjof Weigel)
-
Bas 1.7 - a Basic interpreter for unix
(by Michael Haardt, GPL'd source code)
-
BDB-BASIC - Basic interpreter based on Berkeley DB database
software and the DG MICOS BASIC dialect
-
X11-Basic - a Basic interpreter with full X graphic capability
supporting GFA-Basic ATARI-ST syntax
(GPL'd source)
-
Lemick - Basic tokenizing+JIT compiler with OOP capability
(GPL'd source)
-
Bywater BASIC 2.20 (patch level 2)
- ANSI C source for a Basic interpreter,
(plus patch level 01 & 02 updates to fix memory leaks,
compressed tar file, GNU public license source code).
This version maintained by:
Jon Volkoff.
- Original Author:
Ted Campbell.
There might be more current version of bwbasic on
SourceForge
- dds.c -
Worlds smallest Basic interpreter. C source.
Obfuscated (
1990
IOCCC winner). Only 25 lines long!
Written by:
Diomidis Spinellis
(scripting Basic, C source, GPL'd)
-
unmbasic
is a Basic environment from the University of New Mexico. Matrix math
extensions. Includes a yacc grammer. Requires both C and either a
Fortran compiler or f2c to build. (compressed tar file)
(May have formerly been called "Vax-Basic".
Documentation?)
Apparently written by Gary Klimowicz, circa 1990.
-
MOLE Basic (extendable language, flex/yacc/C source)
-
A MS Level II Basic compatible interpreter
- (GPL'd c++ source code for Win32 systems)
-
basic -
A small Basic interpreter written in C as a student project,
from mod.sources archives Volume 2 Issue 23
(compressed tar file of shar archive)
Author: David Herron, 1985
-
basic - A Basic interpreter written in C,
(perhaps formerly Rabbit Basic ?)
from comp.sources.unix archives volume07 (compressed tar file)
Author: Phil Cockcroft, 1986
(note: I have never gotten this one to compile - rhn)
-
basic.p & basic.c -
(compressed unix shar file, P.D.)
The original Chipmunk Basic interpreter,
originally written in Pascal, and later converted to C using p2c.
Part of the p2c source code archive
posted to comp.sources.unix in 32 parts in March, 1990.
Author:
Dave Gillespie,
Circa 1986
-
base/4 - the public business basic
(C source, German documentation, free personal source license?)
-
stbasic09 A Structured Basic interpreter written in Pascal
and C and including SRGP graphics,
by Wilfried Waetzig (waetzig@hrz.uni-kassel.de), GPL,
(based on original Chipmunk Basic 1.0 by Dave Gillespie)
-
Free Basic Compiler and Interpreters - Developer City list
Compilers
-
FreeBASIC - an x86 Basic compiler (linux, win32, GPL, LGPL)
- qb2c
- a BASIC to C translator
(Freeware with C source & also a Commercial version),
(old 1998 qb2c copy) -
Author: Mario Stipcevic, 2003
-
CocoaBasic Basic compiler for Mac OS X (now GPL)
-
dds - obfuscated basic compiler.
This is an small highly obfuscated Basic to C translator listed
under the 1991 IOCCC winners. By Diomidis Spinellis
Tiny
- Tom Pittman's original
Tiny Basic rewritten in C for Dr Dobbs portal, circa 2004
-
uBasic a Tiny Basic in C
(BSD-style license, by Adam Dunkels, 2007)
-
Integer Tiny Basic in C (by Herbert Schildt, 1988)
-
Tiny Pascal Basic
- Basic-S, Tiny Basic interpreter in Pascal source code
(by S. A. Moore
samiam@moorecad.com , 1980)
-
Tiny Basic in Basic (an iziBasic sample program)
-
Tiny Basic in SmallBasic by Nicholas Christopoulos
-
Tiny_BASIC_in_Forth
- Forth source for a Tiny Basic interpreter, 1984
-
Palo Alto Tiny Basic 8080 asm source code
(Bruce Sherry's disk version 3.1 of Lichen Wang's Tiny Basic)
and the
tiny basic code archive (164 Basic programs, zip file)
-
68000 Tiny Basic version 1.2 (68k asm source code)
(mirror).
By G. Brandly
-
SWTPC Tiny Basic (6800 asm source code), by Robert Uiterwyk
- A Z80 Tiny Basic (asm source code)
- Poly-88 Basic (8080 source code for a TinyBASIC)
-
GE TeleBasic in GE-235 Assembly -
Source code for one of the very first implementations of Basic
for the Dartmouth Time Sharing System, 1965
-
DEC TSS/8 Basic for the PDP-8 -
another early (1969-1971) implementation of Basic
for DEC minicomputers in assembly language
(tokenizing compiler+interpreter)
-
NASCOM ROM Basic in Z80 asm
for NASCOM
computer kits
-
Basic in 8085 asm - by David Dunfield
-
EhBASIC - Enhanced Basic interpreter for 68000 systems,
by Lee Davison
-
EhBASIC - Enhanced Basic interpreter in 6502 asm
TCP/IP stack and Web Server in EhBASIC
-
Basic52 80C52 asm source code
(zip file) Intel 1986.
-
Cheesecake BASIC V3 - a Basic interpreter written in QBasic
(source code for version 0.1 here)
- CellularBASIC
Open-Source BASIC Interpreter for Java-Enabled Handhelds,
CLDC 1.1/MIDP 2.0 J2ME.
-
JBasic - Basic Interpreter for Java JVM
-
JavaBasic - Includes Java Source Code.
A Java Applet Contest Entry.
By Forest Ye
-
MINI-BASIC - minimal Basic interpreter
written in MASM32 assembly language for MSWindows
-
MoonRock - a Basic to x86asm compiler written in QBasic.
Author: Rowan Crowe
-
qbtiny - a tiny language compiler + tutorial written in QBasic.
By J. Crenshaw and rick@tip.nl
- MicroBasic (dead link)
- a tiny Basic compiler written in QBasic/FutureBasic
-
Small Basic Interpreter - written in MicroSoft VB4
(a Basic written in Basic).
SBI source code
is included with the June 97 issue of
Dr. Dobb's Journal.
By Polar Engineering and Consulting.
-
Perl Module to interpret BASIC
Basic Interpreters and Compilers
Closed-source/Shareware/Commercial/Freeware/Online Basic Interpreters/Compilers:
Other Documentation on Basic:
Other Macintosh Tools
Other Programming Resources
-
interp2num -
C language source code for
routines that parse
and interpret equations in the form of text strings
into numbers, e.g. the string "2+3*7" returns the
number "23.0". Derived from basic.p.
(compressed unix shar file).
-
C Interpreter Source Code (embeddable scripting language)
(Think C source, Info-Mac stuffit binhex archive)
-
Little C
(interpreter for a subset of the C language, written in C)
(published in Dr Dobb's Journal, August '89)
(Think C source, Info-Mac stuffit binhex archive)
By Herbert Schildt.
- Tiny C
- Tiny C compiler capable of compiling itself
-
Bob programming language (tiny OOP language, Think C source, hqx)
Dave Betz's link
- xlisp a small Lisp interpreter (C source code)
Dave Betz's link
-
siod Scheme in One Defun. A small footprint, Scheme
interpreter. (C source code)
-
Apple Mac OS X Scripting
-
EverythingMac developer pages
-
Metrowerks WorldWide
(Codewarrior, the compiler used for older releases of Chipmunk Basic.)
This page is always under construction.
Nothing here is guaranteed to be correct. No warranties implied.
EMail Ron Nicholson at
rhn@nicholson.com
(Please don't use rhn@netcom.com or rhn@sgi.com,
they are old and dead email addresses.)
Back to
Ron's Home Page
Copyright © 1996-2008 Ronald H. Nicholson, Jr. ALL RIGHTS RESERVED.
Last Modified 2008-Jan-02