Merge pull request #481 from Hydrazer/forth

pkg(forth-0.7.3): added forth
This commit is contained in:
Thomas Hobson 2022-06-03 12:29:11 +12:00 committed by GitHub
commit e4b77a34ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 30 additions and 0 deletions

12
packages/forth/0.7.3/build.sh vendored Normal file
View File

@ -0,0 +1,12 @@
curl -L https://ftp.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz -o forth.tar.gz
tar xzf forth.tar.gz
rm forth.tar.gz
cd gforth-0.7.3/
./BUILD-FROM-SCRATCH --host=x86_64 --build=x86_64
make
make install
chmod +x ./gforth
cd ..

5
packages/forth/0.7.3/environment vendored Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH
export FORTH_PATH=$PWD/gforth-0.7.3

7
packages/forth/0.7.3/metadata.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"language": "forth",
"version": "0.7.3",
"aliases": [
"gforth"
]
}

4
packages/forth/0.7.3/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
$FORTH_PATH/gforth "$@"

1
packages/forth/0.7.3/test.forth vendored Normal file
View File

@ -0,0 +1 @@
.( OK) bye

View File

@ -332,6 +332,7 @@ Content-Type: application/json
`erlang`, `erlang`,
`file`, `file`,
`forte`, `forte`,
`forth`,
`fortran`, `fortran`,
`freebasic`, `freebasic`,
`fsharp.net`, `fsharp.net`,