diff --git a/packages/lolcode/0.11.2/build.sh b/packages/lolcode/0.11.2/build.sh new file mode 100755 index 0000000..72a9ea3 --- /dev/null +++ b/packages/lolcode/0.11.2/build.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +PREFIX=$(realpath $(dirname $0)) + +# Cloning lolcode source +git clone https://github.com/justinmeza/lci.git lolcode +cd lolcode + +# Building and installing lolcode +cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" . +make -j$(nproc) +make install -j$(nproc) + +# Cleaning up +cd ../ && rm -rf lolcode diff --git a/packages/lolcode/0.11.2/environment b/packages/lolcode/0.11.2/environment new file mode 100644 index 0000000..780b668 --- /dev/null +++ b/packages/lolcode/0.11.2/environment @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put 'export' statements here for environment variables +export PATH=$PWD/bin:$PATH diff --git a/packages/lolcode/0.11.2/metadata.json b/packages/lolcode/0.11.2/metadata.json new file mode 100644 index 0000000..80e46ea --- /dev/null +++ b/packages/lolcode/0.11.2/metadata.json @@ -0,0 +1,6 @@ +{ + "language": "lolcode", + "version": "0.11.2", + "author": "Shivansh-007 ", + "aliases": ["lol", "lci"] +} diff --git a/packages/lolcode/0.11.2/run b/packages/lolcode/0.11.2/run new file mode 100644 index 0000000..d4e6725 --- /dev/null +++ b/packages/lolcode/0.11.2/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Put instructions to run the runtime +lci "$@" diff --git a/packages/lolcode/0.11.2/test.lol b/packages/lolcode/0.11.2/test.lol new file mode 100644 index 0000000..f93f722 --- /dev/null +++ b/packages/lolcode/0.11.2/test.lol @@ -0,0 +1,4 @@ +HAI 1.2 + CAN HAS STDIO? + VISIBLE "OK" +KTHXBYE