Raspberry BASIC

Author Topic: Resources  (Read 4601 times)

John Spikowski

  • Moderator
  • *****
  • Posts: 234
    • View Profile
    • ScriptBasic
Resources
« on: April 15, 2019, 02:07:05 AM »
The following resources are available for the Raspberry Pi.

ScriptBasic Runtime - RPi Zero (this version runs on all models of the Raspberry Pi)
https://raspberrybasic.org/download/scriptbasic-rpi-zero.deb

ScriptBasic Runtime - Rpi ARMv7 (B / B+ Doesn't run on the Zero)
https://raspberrybasic.org/download/scriptbasic-2.1-linux-armhf.deb

ScriptBasic Runtime - AppImage (ARMv7 single file no install)
https://raspberrybasic.org/download/sb.AppImage.zip

DEB Install (installs needed dependences as well)
sudo apt install ./scriptbasic-2.1-linux-armhf.deb

AppImage
Extract the sb file from the zip in a directory in the system path.

Note: The DEB installs use scriba to run scripts and the AppImage uses sb to run them.

The source can be found in the AllBASIC sandbox.
https://sandbox.allbasic.info:8181/scriptbasic/sb-dev

Extract your source download whch will create a sb-dev directory. Make sure you install the developer dependencies for the extension modules.

libcurl4-gnutls-dev
libiodbc2-dev
libmariadbclient-dev-compat (provides mysqlclient)
libncurses5-dev
libsqlite3-dev
libssl-dev
zlib1g-dev

sudo perl jamal.pl -i    (this adds a Perl module the ScriptBasic build system needs but normally not installed by default)

./setup   (this builds the ScriptBasic runtime executables and include files created in the bin directory.

If all goes well, run the mkdeb.sh script to create the PACKAGES .deb install file or create a local install using mkdist.sh <dest dir>.


Documentation (User and Developer) can be found in the ScriptBasic Wiki.
https://scriptbasic.org/wiki

Feel free to send me a PM (Private Message) or post your questions to the ScriptBasic forum board.

Attached is a set of scripts and data files I use to test the extension modules with.

Additional Extension Modules

GPM Fibo
Extract the zip and put the gmp.so extension module that should go in the /usr/local/lib/scriba directory.

https://raspberrybasic.org/download/gmp_zero.zip


TinyScheme
* Unzip to a tmp directory.
* Copy libtinyscheme.so to your /usr/lib/ directory.
* Copy ts.so to your /usr/local/lib/scriba/ directory.
* Copy the remaining examples and init.scm to your ScriptBasic examples directory where ever that may be.

Note: The init.scm file is a Lisp script that adds additional syntax to your Lisp scripts.

https://raspberrybasic.org/download/TinyScheme_RPi_Zero.zip
« Last Edit: June 24, 2019, 06:51:41 AM by John Spikowski »
ScriptBasic Project Manager/Facilitator