||Liberty BASIC v5.0 prealpha
release for Mac OS X|
Copyright 1992-2005 Shoptalk Systems, all rights reserved
Download Link for LB5 prealpha
NOTE: Do not redistribute. Do not place on download sites or include in
CDROM compilations. You may post a link to our download page at
Primary internet resources for Liberty BASIC:
Liberty BASIC is a version of the BASIC programming language. Since 1992
Liberty BASIC has only been available for the Windows operating system.
This prealpha is meant as a demonstrator for those who have been waiting to
see our work on this port. This release is free, and support is limited to
the MAC OS X forum on our Conforums board here:
NO GUI: At this time, Liberty BASIC for Mac OS X has no IDE or support for
GUI application development. It is a console only BASIC, and works with
stdin and stdout. Source code is compiled in memory and then executed.
This makes it suitable for many everyday things like scripting and CGI
programming. If you are interested in GUI development or if you need an
integrated editor and debugger, these things will come later, or you can
try our Windows version.
Release schedule: We have not scheduled a release date yet, but we intend
to release new versions of this Mac OS X port every few weeks. We also
intend to release a port to Linux in the near future.
Technical details: This software takes the form of a command line
interpreter. It is actually an in-memory compiler and runtime environment.
When you invoke Liberty BASIC from the command line it will compile the
specified program in memory and then execute it. If there are any compile
errors it will stop and indicate with a line number and the text of the
bad program line. Once the compile is successful it will begin execution,
and if there are any runtime errors it will stop with an indication of the
Floating point: This release supports only single precision floats, but we
will support double precision in a future release.
NOTE: Some computers report an mprotect: Permission denied error when
starting Liberty BASIC. This does not stop Liberty BASIC from running.
We are trying to track this down. Please send us email telling us if you
see this error or not, and what version of Mac OS X you are running. This
will help us to track down the problem.
-open a terminal session (go to the applications folder and then utilities)
-cd to the folder where you have unzipped Liberty BASIC
-type lb5run progname.bas where progname.bas is the name of the program you
want to run
There are several simple example.bas programs included, including a small
test suite called tests.bas we used to verify the basic functionality for
Note: If the current directory . is not part of your terminal session's
path, you may need to include it in the command line you type in, like so:
To see the product information when running Liberty BASIC, include the
-lbverbose switch, like so:
lb5run hilo.bas -lbverbose
The -lbverbose switch will cause the following information to appear when
lb5run is started.
Liberty BASIC 5.0 prealpha for Mac OS X
Copyright 1992-2005 Shoptalk Systems, all rights reserved.
The files: Liberty BASIC for Mac OS X consists of two files lb5run and
lb5run.im. These are both required. Together these files are about 6.5MB.
We expect them to get somewhat smaller as development nears maturity. The
final product will include a distribution mechanism that does not require
program source code to be included in the delivery.
The following is a list of functions and statements that are included in
this non GUI version of Liberty BASIC. For details about these (and more)
visit this URL:
Of course at this stage of development expect some bugs. Please report
anything you find to
TAB - compiles, but adds no formatting spaces in this release
PRINT - using commas to tabulate is ineffective in this release
REM or '
IF THEN ELSE END IF
GOTO GOSUB RETURN
PUT GET GETTRIM
READ DATA RESTORE
-Carl Gundel, author of Liberty BASIC