Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New version of Bas7 - Interpreter for old BASIC programs from the line number era

8 views
Skip to first unread message

tm

unread,
Oct 5, 2009, 4:09:25 AM10/5/09
to
Hello,

I just released a new version of the Bas7 BASIC interpreter.
Bas7 can execute old BASIC programs from the line number era
(If you know GW-Basic: That was the era). Stuctured 'IF', 'DO'
and 'SELECT' statements and programs without line numbers are
also supported. The interpreter is released under the GPL and
it works under Unix, Linux, BSD, Microsoft Windows and
Mac OS X. 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_20091004.tgz, which can be downloaded at:

http://sourceforge.net/project/showfiles.php?group_id=151126

Changelog of the 2009-10-04 version of bas7:
- The handling of 'NEXT' statements with several variables
(e.g.: 'NEXT I,J,K') was improved.
- Statements starting with the letters of a keyword which cannot
be recognized as 'LET' statements are handled as if a space is
inserted after the keyword. E.g.: 'GOTO250' is equivalent to
'GOTO 250'.
- When a certain keyword is expected and the current symbol
starts with this keyword a space is silently inserted after
the keyword. E.g.: 'IF I=5 THENI=2' is interpreted as
'IF I=5 THEN I=2'.
- When a 'LET' statement starts with the letters 'IF' and the
statement is followed by the letters 'THEN' it is interpreted
as 'IF' statement instead. E.g.: 'IFI3=5*J THEN 100' is
interpreted as 'IF I3=5*J THEN 100'.
- When a 'LET' statement starts with the letters 'FOR' and the
statement is followed by the letters 'TO' it is interpreted
as 'FOR' statement instead. E.g.: 'FORJ1=3*I TO 7*I' is
interpreted as 'FOR J1=3*I TO 7*I'.
- The handling of 'BLOAD' was improved to support loading even
when the file contains data for several arrays.
- The reinterpretation of array contents as pixel images was
improved.
- The function 'VARPTR' was added.

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.

tm

unread,
Nov 2, 2009, 6:12:57 AM11/2/09
to
On 5 Okt., 09:09, tm <thomas.mer...@gmx.at> wrote:
> Hello,
>
> I just released a new version of the Bas7 BASIC interpreter.

Bas7 has been improved once again. For a download
see below.

> Bas7 can execute old BASIC programs from the line number era
> (If you know GW-Basic: That was the era). Stuctured 'IF', 'DO'
> and 'SELECT' statements and programs without line numbers are
> also supported. The interpreter is released under the GPL and
> it works under Unix, Linux, BSD, Microsoft Windows and
> Mac OS X. 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_20091004.tgz, which can be downloaded at:

The newest release of Bas7 can always be found
as part of the newest release of Seed7. So instead
of the version mentioned above the newest version
of Seed7 should be downloaded. This is easy to
decide since the name of the release package
contains the release date. The Seed7 (Bas7) release
can be downloaded here:

http://sourceforge.net/project/showfiles.php?group_id=151126

0 new messages