Merge pull request #398 from Hydrazer/master

pkg(befunge93-0.2.0): added befunge93
This commit is contained in:
Thomas Hobson 2021-11-26 03:55:44 +13:00 committed by GitHub
commit de4d12caa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 32 additions and 1 deletions

15
packages/befunge93/0.2.0/build.sh vendored Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# source python 2.7
source ../../python/2.7.18/build.sh
# clone befunge repo
git clone -q 'https://github.com/programble/befungee' befunge93
# go inside befunge93 so we can checkout
cd befunge93
# checkout the version 0.2.0
git checkout tag/v0.2.0
cd ..

5
packages/befunge93/0.2.0/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 BEFUNGE93_PATH=$PWD/befunge93

View File

@ -0,0 +1,5 @@
{
"language": "befunge93",
"version": "0.2.0",
"aliases": ["b93"]
}

4
packages/befunge93/0.2.0/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# run the befunge program with the file name
python2.7 "$BEFUNGE93_PATH"/befungee.py "$1"

1
packages/befunge93/0.2.0/test.b93 vendored Normal file
View File

@ -0,0 +1 @@
64+"KO">:#,_@

View File

@ -323,6 +323,7 @@ Content-Type: application/json
`awk`, `awk`,
`bash`, `bash`,
`befunge93`,
`brainfuck`, `brainfuck`,
`c`, `c`,
`c++`, `c++`,