pkg(brainfuck-1.0.0): Add brainfuck 1.0.0

This commit is contained in:
Thomas Hobson 2021-03-17 21:23:13 +13:00
parent 4217d3a89b
commit f9c06f03a2
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
4 changed files with 22 additions and 0 deletions

8
packages/brainfuck/1.0.0/build.sh vendored Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
curl "http://mazonka.com/brainf/bff4.c" -o bff4.c
gcc -O3 bff4.c -O bff4
rm bff4.c

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

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

View File

@ -0,0 +1,6 @@
{
"language": "brainfuck",
"version": "1.0.0",
"aliases": ["bf"],
"author": "Thomas Hobson <git@hexf.me>"
}

4
packages/brainfuck/1.0.0/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
bff4 "$@"