Hello,
I just released a new version of the bas7 basic interpreter,
which can execute old basic programs from the line number era
(If you know GW-Basic: That was the era). The interpreter is
released under the GPL. A description of bas7 can be found here:
http://seed7.sourceforge.net/scrshots/bas7.htm
The new version of Bas7 is contained in new the release of
Seed7 seed7_05_20080406.tgz, which can be downloaded at:
http://sourceforge.net/project/showfiles.php?group_id=151126
Changelog of the 20080406 version of bas7:
- The scanner was improved to allow hex and oct numbers which start
with &h and &o instead of &H and &O .
- The scanner was improved to allow alternate alternate forms
of comparison operators: >< or > < instead of <> ,
=< or = < instead of <= and => or = > instead of >= .
- Data statements which start with a hex or oct number without
a space as in '500 DATA&Habcd' are now recogniced correctly.
- The INSTR function was corrected to return indices counted
from the beginning of the string.
- Functions defined with DEF FN* can now be called also when
there is a space between FN and the rest of the name. E.g.
100 DEF FNB(C)=-C
110 A=FN B(35)
- The behaviour of FOR .. NEXT loops where the NEXT statement
has a list of variables as in 'NEXT X,Y,Z' was improved.
- The handling of PRINT statements was improved to allow
USING clauses later in the parameter list. E.g.
100 PRINT"The amount is " USING "##.##";XC
- The LOCATE statement was improved to accept up to five
parameters (The last two parameters specify the form of
the cursor and are ignored in bas7).
- The FIELD statements were improved to allow that the keyword
'AS' is directly followed by a variable without an intermediate
space. E.g. 100 FIELD#1,128ASDX$
- A log message was added to the RESUME statement.
- The CHAIN statement was improved to allow the program to
continue when no file was found.
- The functions MKL$ and CVL are implemented now.
It would be nice to get some feedback about it.
Greetings Thomas Mertes
Seed7 Homepage: http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.


|