Cloud9 IDE/BASIC
Appearance
Cloud9 may be used for BASIC development, but by default a BASIC compiler is not installed. This is indicated by the following error when running a .bas file:
bash: line 1: ...: No such file or directory
To install the FreeBASIC compiler on Cloud9, enter the following commands at the bash prompt. If you don't see a bash prompt, open a New Terminal window.
mkdir ~/downloads
cd ~/downloads
wget https://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/FreeBASIC-1.05.0-linux-x86_64.tar.gz/download
mv download FreeBASIC-1.05.0-linux-x86_64.tar.gz
tar xzf FreeBASIC-1.05.0-linux-x86_64.tar.gz
cd FreeBASIC-1.05.0-linux-x86_64/
sudo ./install.sh -i
cd ~/workspace
rm -r ~/downloads
Then add a new runner for BASIC files with the following configuration. Save the new runner as BASIC (QB).run
.
{
"script": [
"fbc -lang qb \"$file\"",
"./$file_base_name"
],
"info": "Compiling $file_name and running $file_base_name",
"selector": "source.bas"
}