Merge branch 'master' into add-forte

This commit is contained in:
Thomas Hobson 2021-10-03 01:36:30 +13:00 committed by GitHub
commit fa28d1c0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 0 deletions

5
packages/freebasic/1.8.0/build.sh vendored Executable file
View File

@ -0,0 +1,5 @@
#!/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

4
packages/freebasic/1.8.0/compile vendored Normal file
View File

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

4
packages/freebasic/1.8.0/environment vendored Normal file
View File

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

View File

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

5
packages/freebasic/1.8.0/run vendored Normal file
View File

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

1
packages/freebasic/1.8.0/test.bas vendored Normal file
View File

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

View File

@ -340,6 +340,7 @@ Content-Type: application/json
`erlang`, `erlang`,
`forte`, `forte`,
`fortran`, `fortran`,
`freebasic`,
`go`, `go`,
`golfscript`, `golfscript`,
`groovy`, `groovy`,