Compare commits
6 Commits
ef27fc0327
...
528b313c64
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | 528b313c64 | |
Thomas Hobson | 34132b211d | |
Thomas Hobson | 3112c808d8 | |
Thomas Hobson | f9c06f03a2 | |
Shivansh-007 | 4217d3a89b | |
Shivansh-007 | 21b91b1dbe |
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo 'H4sIAAAAAAAAA61XS4/iRhA+m19Rw2gHG9uMiaIcBoyUaKVcNrtSFCkHgqLGbqBnbXfLNjs7nuW/p6ofxjCzh5VyAOzqenz1bu6nI/ikWlGKTlR72NZMVLtj9hlEqQpe8qplrZAVyB3kghU8a2HLGp4D0kbwnlWCF5MG8u1OgN9wDuNf4Quvn6E5yLqFhhe7WFQtr1XN8XscjEbw10E0MCDCgTWor3jGL44H6tg+gKrlvmYlsCo3JGgltAeOVt3RgX3hRN1ytKNYzVrE9STaA9wAn+1nMI5mN2yM/GisgQmboG0JxwaNtKjUYGBZK1BPKXMOijUth2d5rM/2G2N+5oC7g4xVZDmTpRKFM/zx04ePf0LJslpCznei4vlsZKm5aNi24OiqiXcf2ALZWA2FlKoB/+nAaw6T5WqCkS5YlfE8iIw/63gVrsJwudyg0g9nKUBYGJoK+FeeHSkK6BzFEr1RBPxTwffwB+tk9ZnBz/CeZ/BTkvwCcGhb9XB/X5qjGTpzj+xT/LoVVVYcMSbLps0LsZ0dVpc0Ia9JGOY90Ubts+LoPZqvj1gw/0o1ehl5GG2sCrFrI3R6tzCEKeQRNB2+nZmRuJf2PLO/Yi8jG6iz5DbCDwmfMKaL0eiLFLnJtlQ+6ekCZ/gRpfTJzh9LlU7GAanZ+XCDdrND7Y+XqzAeR128ygIIwPG+y8aRnx1YHegTFNrJ2ofHNFnA4xJpGgA8hiEKvS2Vb9ePm2Bgf2LCkL7LKRD0s5f0/QLjked5hMHGCZ+QQ/9iAOAN871xlOyt56Adya/snv6pyO2TDdQUOlYUMvPNm4pAZ6gzv7I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MO5NLTBjl6/1vv7tLCTpNBdAj0tGkC5XO4EZPW1veNGtpA2DJdymy6JugdsG4eSG5vpK8uRaF78tGE6p7IzC8O1w04ZuSMy2J/wm0hNbwWoyCrBT+p6H4On+bboAXG7kyacGVpg/Dzg5r644+XtH8uii1YbbKiJgoZa5QjMqqtM2JYF51kINjq+WsW4PKeUGYyK37nknr8obzvBvOc+K26EOxCVPUMe3MjDcoKIou/z+kqdfiMulCSY29Mj34AvB2RIknnP/P8TQfWq5pD2Qxuqz6oXtl75xNvblniDRFHed/GuYvyWAi6Gt8qUcFWKPuyFzkXThP/aJM9KL8DwGaOq3UDwAA' | base64 -d > bff4.c.gz
|
||||
gunzip bff4.c.gz
|
||||
gcc -O3 -o bff4 bff4.c
|
||||
chmod +x bff4
|
||||
rm bff4.c
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "brainfuck",
|
||||
"version": "1.0.0",
|
||||
"aliases": ["bf"],
|
||||
"author": "Thomas Hobson <git@hexf.me>"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
bff4 "$@"
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl "https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz" -o python.tar.gz
|
||||
tar xzf python.tar.gz --strip-components=1
|
||||
rm python.tar.gz
|
||||
|
||||
./configure --prefix "$PREFIX" --with-ensurepip=install
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf build
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "python",
|
||||
"version": "2.7.18",
|
||||
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
|
||||
"aliases": ["py", "python2"]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
python2.7 "$@"
|
|
@ -0,0 +1 @@
|
|||
print "OK"
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl "https://www.python.org/ftp/python/3.5.10/Python-3.5.10.tgz" -o python.tar.gz
|
||||
tar xzf python.tar.gz --strip-components=1
|
||||
rm python.tar.gz
|
||||
|
||||
./configure --prefix "$PREFIX" --with-ensurepip=install
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf build
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "python",
|
||||
"version": "3.5.10",
|
||||
"author": "Shivansh-007 <Shivansh-007@users.noreply.github.com>",
|
||||
"aliases": ["py", "python3"]
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3.5 "$@"
|
|
@ -0,0 +1 @@
|
|||
print("OK")
|
Loading…
Reference in New Issue