Compare commits

...

6 Commits

Author SHA1 Message Date
Thomas Hobson 89a6f81123
Merge pull request #345 from dvargas46/add-forte
pkg(forte-1.0.0): add forte
2021-10-03 01:45:58 +13:00
Thomas Hobson fa28d1c0c7
Merge branch 'master' into add-forte 2021-10-03 01:36:30 +13:00
Thomas Hobson 4d4b6b9bf0
Merge pull request #346 from dvargas46/add-freebasic
pkg(freebasic-1.8.0): Add Freebasic
2021-10-03 01:36:21 +13:00
Dan Vargas 5280739326 pkg(freebasic-1.8.0): Add Freebasic 2021-10-01 14:04:17 -05:00
Dan Vargas 977ec08311
Merge branch 'master' into add-forte 2021-10-01 12:11:12 -06:00
Dan Vargas 6d50745db8 pkg(forte-1.0.0): add forte 2021-10-01 13:00:04 -05:00
12 changed files with 55 additions and 0 deletions

15
packages/forte/1.0.0/build.sh vendored Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# the forter interpreter requries ruby
source ../../ruby/3.0.1/build.sh
mkdir -p build
git clone -q "https://github.com/judofyr/forter" build/forter
cd build/forter
mv bin/* ../../bin/
mv lib/* ../../lib/
cd ../../
rm -rf build

4
packages/forte/1.0.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# interpreter location
export PATH=$PWD/bin:$PATH

5
packages/forte/1.0.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "forte",
"version": "1.0.0",
"aliases": ["forter"]
}

3
packages/forte/1.0.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
forter "$@"

2
packages/forte/1.0.0/test.forte vendored Normal file
View File

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

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

@ -338,7 +338,9 @@ Content-Type: application/json
`elixir`,
`emacs`,
`erlang`,
`forte`,
`fortran`,
`freebasic`,
`go`,
`golfscript`,
`groovy`,