Add lolcode
This commit is contained in:
parent
f12cee3a96
commit
14d1090daa
|
@ -136,6 +136,12 @@
|
|||
"java"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "lolcode",
|
||||
"aliases": [
|
||||
"lolcode"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "nim",
|
||||
"aliases": [
|
||||
|
|
|
@ -284,7 +284,6 @@ MIX_ENV=prod mix escript.build --force
|
|||
echo 'export PATH=$PATH:/opt/05AB1E/05AB1E' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
|
||||
# install prolog
|
||||
# final binary: /opt/swipl/swipl-<version>/build/src/swipl
|
||||
cd /opt && mkdir swipl && cd swipl
|
||||
|
@ -300,6 +299,17 @@ ninja
|
|||
echo "export PATH=\$PATH:/opt/swipl/$SUB_DIR/build/src" >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# install lolcode
|
||||
# final binary: /opt/lolcode/bin/lci
|
||||
cd /opt
|
||||
git clone https://github.com/justinmeza/lci.git lolcode
|
||||
cd lolcode
|
||||
mkdir bin
|
||||
cmake ..
|
||||
make
|
||||
echo 'export PATH=$PATH:/opt/lolcode/bin' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# create runnable users and apply limits
|
||||
for i in {1..150}; do
|
||||
useradd -M runner$i
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /tmp/$1
|
||||
timeout -s KILL 3 lci code.code < stdin.stdin
|
|
@ -0,0 +1,4 @@
|
|||
HAI 1.2
|
||||
CAN HAS STDIO?
|
||||
VISIBLE "good"
|
||||
KTHXBYE
|
Loading…
Reference in New Issue