Add jelly
This commit is contained in:
parent
6d580981e4
commit
be8e301b44
|
@ -75,6 +75,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
"emacs", "elisp", "el",
|
||||
"go",
|
||||
"java",
|
||||
"jelly",
|
||||
"julia", "jl",
|
||||
"kotlin",
|
||||
"lua",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
cd /tmp/$2
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 jelly fu code.code"
|
|
@ -45,6 +45,10 @@ echo 'java'
|
|||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "java -version"
|
||||
echo '---'
|
||||
|
||||
echo 'jelly'
|
||||
echo '1.0.0'
|
||||
echo '---'
|
||||
|
||||
echo 'julia'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "julia --version"
|
||||
echo '---'
|
||||
|
|
|
@ -158,6 +158,11 @@ tar -xzf openjdk-14_linux-x64_bin.tar.gz
|
|||
echo 'export PATH=$PATH:/opt/java/jdk-14/bin' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# install jelly
|
||||
git clone -q https://github.com/DennisMitchell/jellylanguage.git
|
||||
cd jellylanguage
|
||||
pip3 install --upgrade --user .
|
||||
|
||||
# install julia
|
||||
# final binary: /opt/julia/julia-1.5.0/bin/julia
|
||||
# get version: /opt/julia/julia-1.5.0/bin/julia --version
|
||||
|
@ -339,6 +344,7 @@ If an invalid language is supplied, a typical response will look like the follow
|
|||
- go
|
||||
- haskell
|
||||
- java
|
||||
- jelly
|
||||
- julia
|
||||
- kotlin
|
||||
- nasm
|
||||
|
|
Loading…
Reference in New Issue