Please note that the BASIC interpeter used here is TinyBASIC(Homepage: http://tinybasic.cyningstan.org.uk/), which has very specific syntax. To install it, follow these instructions.
To run these BASIC scripts/programs simply use the following syntax:
$ tinybasic [directory]/[file].bas
Make sure to replace [directory]/[file]
with the path to the script you wanna run, e.g.:
$ tinybasic ./myFirstBASICcode.bas