Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by boltar200 » Mon, 20 Mar 2006 04:07:59


Hi

I'm writing a simple interactive line BASIC interpreter for Unix (currently
only Linux and FreeBSD tho) called Boltar BASIC. Its only at version 0.1
so lots of funcitonality is still missing but most of the command set is
complete therefor I'm posting a test version because I'm interested in any
feedback anyone may have (please post to newsgroup, not my email, thanks) such
as bug reports, ideas, criticisms etc.

Currently you can't load or save files yet so you'll have to cut
and paste the test programs onto the interpreter command line from the
example .bas files included and also I'm afraid theres no documentation. Yet!

The source code is standard ANSI C and its been tested on linux 2.4 , 2.6 and
FreeBSD 6.0 and can be obtained here:

http://www.yqcomputer.com/

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by axten » Sun, 26 Mar 2006 19:21:35

For those interested, it compiles and runs fine without modification on
Mac OS X "Jaguar"

 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by Bolta » Sun, 16 Apr 2006 00:41:19

Version 0.9 is now available. This is almost the finished article but a
couple of
things remain to do - the main one being multidimensional arrays
(currently it
only supports 1D arrays)

http://www.yqcomputer.com/

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by Bolta » Sun, 30 Apr 2006 23:59:35


Version 1.0.0 of this language is now available. Many new things have
been
added since 0.9 , too many to list them all but they include MIN(),
MAX(),
UPPER$(), LOWER$().

It is written in C and currently has been tested on Linux 2.4, 2.6 and
FreeBSD
6.0.

Source code is available here:
http://www.yqcomputer.com/

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by John Fredr » Mon, 01 May 2006 08:20:58

Neil,

I think it's great that your BASIC interpreter runs on Mac OS/X, BSD,
Solaris, and Linux. Is there any hope that your system will work on Windows
some day?

John
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by Bolta » Tue, 02 May 2006 19:08:34

Hi

Does it run on Solaris? I don't have access to a Sun box to be able to
test it but it would be great news if it just worked anyway!

As for windows , I'm afraid I'm a dyed in the wool unix coder. I'm
unfamiliar with win32 coding and I don't have a copy of VC++ anyway.
I've tried to keep the code POSIX compliant and standard C so hopefully
it should be compilable on Windows without too many changes but
thats just a guess.

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by fmmc » Mon, 08 May 2006 00:14:35

In article < XXXX@XXXXX.COM >,



Boltar-

John mentioned that your program works on the Macintosh. Does the source
code give any hints about what one needs to do to make it work on the
Mac? I have a background in FORTRAN and BASIC, but know nothing about
UNIX or Linux.

Fred
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by news » Mon, 08 May 2006 22:19:36


Why would you want to use VC++? You can compile it for Windows using
gcc!

Richard.
http://www.yqcomputer.com/
To reply by email change 'news' to my forename.
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by boltar200 » Sat, 20 May 2006 04:42:11


XXXX@XXXXX.COM (Fred McKenzie):

Sorry for the delay in replying. It works on OS/X , but only because OS/X
is basically a version of Unix. If you have OS/X then you're in luck. If
you have MacOS 9 then it most probably won't work.

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by boltar200 » Sun, 21 May 2006 04:57:18

Version 1.1.0 is now out. I've only added a couple of things - paging
on listing and a new REVERSE$() function. I was going to add more but I didn't
have the time so until 1.2 this will have to suffice...

http://www.yqcomputer.com/

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by Robb » Tue, 23 May 2006 03:04:43


If someone could be persuaded to compile this for the Sharp Zaurus PDA
(ARM-Linux), would you be willing to allow it to be distributed in binary
form?
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by boltar200 » Wed, 24 May 2006 03:39:57


Sure , as long as the documentation is included. Also I'd like to be sent
any code changes or compile options that were required. I've realised I
never put my email in the distribution but I'll put it in 1.2 (the account
I post from here is no longer valid).

Incidentaly , something that I should have pointed out in the docs is that
the interpreter can't handle binary data well. This is because it uses
that libc string functions which use ASCII 0 as a terminator. I'm hoping to
fix this in the future but its a lot of work so we'll have to see.

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by boltar200 » Mon, 05 Jun 2006 02:01:54

Version 1.2.0 is now available. Hugs amounts of additions since 1.1 , too
many to mention but there is now a CHOOSE/CHOSEN structure which is similar
to switch() in C and max/min functions along with string check functions.
Due to work commitments this will probably be the last version for a while.

http://www.yqcomputer.com/

B2003
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by axten » Thu, 08 Jun 2006 09:40:57

You may be interested ... you may not ... but Boltar BASIC build under
Cygwin and works. Some of the graphics are a bit strange -- circle.bas
doesn't draw a circle and bounce.bas goes from side to side and nowhere
else -- but otherwise it functions fine.

Regards,
Bruce.
 
 
 

Boltar BASIC - simple interactive line BASIC for linux & FreeBSD

Post by axten » Thu, 08 Jun 2006 09:41:15

You may be interested ... you may not ... but Boltar BASIC builds under
Cygwin and works. Some of the graphics are a bit strange -- circle.bas
doesn't draw a circle and bounce.bas goes from side to side and nowhere
else -- but otherwise it functions fine.

Regards,
Bruce.