add piston nix pkg for yabasic (replaces freebasic)

This commit is contained in:
Dan Vargas 2022-02-16 11:08:48 -07:00
parent 3fac94b683
commit 2f2bb862e3
8 changed files with 30 additions and 24 deletions

View file

@ -1,5 +0,0 @@
#!/usr/bin/env bash
curl -L "https://sourceforge.net/projects/fbc/files/FreeBASIC-1.08.0/Binaries-Linux/FreeBASIC-1.08.0-linux-x86_64.tar.gz/download" -o freebasic.tar.gz
tar xf freebasic.tar.gz --strip-components=1
rm freebasic.tar.gz

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Compile bas files
fbc -lang qb -b "$@" -x out

View file

@ -1,4 +0,0 @@
#!/usr/bin/env bash
# Path to fbc compiler
export PATH=$PWD/bin:$PATH

View file

@ -1,5 +0,0 @@
{
"language": "freebasic",
"version": "1.8.0",
"aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"]
}

View file

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Run output file from compile with arguments
shift
./out "$@"

View file

@ -1 +0,0 @@
PRINT "OK"