Compare commits
6 Commits
7d90cddf27
...
89a6f81123
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | 89a6f81123 | |
Thomas Hobson | fa28d1c0c7 | |
Thomas Hobson | 4d4b6b9bf0 | |
Dan Vargas | 5280739326 | |
Dan Vargas | 977ec08311 | |
Dan Vargas | 6d50745db8 |
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# interpreter location
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "forte",
|
||||
"version": "1.0.0",
|
||||
"aliases": ["forter"]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
forter "$@"
|
|
@ -0,0 +1,2 @@
|
|||
1 PRINT "OK"
|
||||
2 END
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile bas files
|
||||
fbc -lang qb -b "$@" -x out
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Path to fbc compiler
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "freebasic",
|
||||
"version": "1.8.0",
|
||||
"aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"]
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Run output file from compile with arguments
|
||||
shift
|
||||
./out "$@"
|
|
@ -0,0 +1 @@
|
|||
PRINT "OK"
|
Loading…
Reference in New Issue