add common lisp

This commit is contained in:
Brian Seymour 2021-01-23 14:14:55 -06:00
parent 38a153c546
commit 68042e6d27
5 changed files with 17 additions and 2 deletions

4
lxc/executors/lisp Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /tmp/$2
timeout -s KILL 3 xargs -a args.args -d '\n' sbcl --script code.code < stdin.stdin

View File

@ -29,6 +29,8 @@ echo -n 'testing julia = '
../../cli/execute julia julia.jl
echo -n 'testing kotlin = '
../../cli/execute kotlin kotlin.kt
echo -n 'testing lisp = '
../../cli/execute lisp lisp.cl
echo -n 'testing nasm 32 bit = '
../../cli/execute nasm nasm.nasm
echo -n 'testing nasm 64 bit = '

1
lxc/tests/lisp.cl Normal file
View File

@ -0,0 +1 @@
(write-line "good")

View File

@ -38,6 +38,15 @@
"c"
]
},
{
"name": "lisp",
"aliases": [
"lisp",
"commonlisp",
"clisp",
"cl"
]
},
{
"name": "csharp",
"aliases": [

View File

@ -20,7 +20,7 @@ apt-get update
apt-get install -y \
nano wget build-essential pkg-config libxml2-dev \
libsqlite3-dev mono-complete curl cmake libpython2.7-dev \
ruby libtinfo-dev unzip git openssl libssl-dev
ruby libtinfo-dev unzip git openssl libssl-dev sbcl
# install python2
# final binary: /opt/python2/Python-2.7.17/python
@ -222,7 +222,6 @@ cd Brainfuck-interpreter
echo 'export PATH=$PATH:/opt/bf/Brainfuck-interpreter' >> /opt/.profile
source /opt/.profile
# create runnable users and apply limits
for i in {1..150}; do
useradd -M runner$i