Compare commits
10 Commits
75f5d65fc1
...
c69af5bc6d
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | c69af5bc6d | |
Thomas Hobson | a7740d5f77 | |
Thomas Hobson | fed0a3eeaf | |
Thomas Hobson | 0d134c738e | |
Thomas Hobson | 8342a4db33 | |
Thomas Hobson | ee25a2eefa | |
Thomas Hobson | b4390e033e | |
Thomas Hobson | 4b409cb011 | |
Thomas Hobson | 9003905649 | |
Thomas Hobson | 7f05ac3cf2 |
|
@ -1,10 +0,0 @@
|
|||
#!/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+y8aRnx1YHegTFNrJ2ofHNFnA4xJpGgA8hiEKvS2Vb9ePm2B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mwMnGWk+jVwy32BJiNzJhL82iSRLsRRwErHqG6lhu8fJNc6C82DwlrXO955VZLyRKFzJqMnoMdeJ1JhfQ3aS6+SAMO5NLTBjl6/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,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to build your package in here
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
git clone https://github.com/fabianishere/brainfuck.git
|
||||
|
||||
cd brainfuck
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX/ -DENABLE_EDITLINE=OFF
|
||||
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ../../
|
||||
rm -rf brainfuck
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD:$PATH
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"language": "brainfuck",
|
||||
"version": "1.0.0",
|
||||
"version": "2.7.3",
|
||||
"aliases": ["bf"],
|
||||
"author": "Thomas Hobson <git@hexf.me>"
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
bff4 "$@"
|
||||
brainfuck $1
|
|
@ -0,0 +1 @@
|
|||
-[--->+<]>------.----.
|
|
@ -1,6 +1,6 @@
|
|||
FROM debian:buster-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev libncursesw5-dev && \
|
||||
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev libncursesw5-dev python3-pip && \
|
||||
ln -sf /bin/bash /bin/sh && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue