From: michael@moria.de
Subject: Bas 0.9 - BASIC interpreter
Date: Thu, 20 Sep 2001 08:46:36 CST [thread overview]
Message-ID: <20010919194540.173.qmail@palantir.moria.de> (raw)
Bas is an interpreter for the programming language BASIC, written in
ANSI C for UNIX systems. It is meant to be compatible to typical BASIC
interpreters of the 1980s, unlike some other UNIX BASIC interpreters,
that implement a different syntax which breaks compatibility with
existing programs. Bas incorporates some features of BBC BASIC such as
procedures, local variables, extended exception handling and automatic
LIST indentation. It understands unnumbered programs and many ANSI
BASIC statements for structured programming and a couple extensions
from other BASIC dialects such as matrix operations and TDL BASIC
style functions. The interpreter tokenises the source and resolves
references to variables and jump targets before running the program.
This compilation pass increases efficiency and catches syntax errors,
type errors and references to variables that are never initialised.
The source is available at:
http://www.moria.de/~michael/bas/
Michael Haardt
##########################################################################
# Send submissions for comp.os.linux.announce to: cola@stump.algebra.com #
# PLEASE remember a short description of the software and the LOCATION. #
# This group is archived at http://stump.algebra.com/~cola/ #
##########################################################################
reply other threads:[~2001-09-20 14:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox