From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,9fd4c7e99307ff59,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2001-09-20 06:51:10 PST Return-Path: Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cola.stump.algebra.com!robomod!not-for-mail X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) Date: Thu, 20 Sep 2001 08:46:36 CST Message-ID: <20010919194540.173.qmail@palantir.moria.de> From: michael@moria.de Subject: Bas 0.9 - BASIC interpreter Newsgroups: comp.os.linux.announce X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAO6nzPCFvAtx2nXvNAQHsegIAuUEMcmCXsml2snGS04mG7zZbvqFrnb9d f/i7b6/0RUxBJ1ZQIPcPlVQLSWUpdJjeMFux0TpVg6jmAlRmfs5bPg== =WVZK Xref: archiver1.google.com comp.os.linux.announce:1291 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/ # ##########################################################################