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",
|
"emacs", "elisp", "el",
|
||||||
"go",
|
"go",
|
||||||
"java",
|
"java",
|
||||||
|
"jelly",
|
||||||
"julia", "jl",
|
"julia", "jl",
|
||||||
"kotlin",
|
"kotlin",
|
||||||
"lua",
|
"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"
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "java -version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
|
echo 'jelly'
|
||||||
|
echo '1.0.0'
|
||||||
|
echo '---'
|
||||||
|
|
||||||
echo 'julia'
|
echo 'julia'
|
||||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "julia --version"
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "julia --version"
|
||||||
echo '---'
|
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
|
echo 'export PATH=$PATH:/opt/java/jdk-14/bin' >> /opt/.profile
|
||||||
source /opt/.profile
|
source /opt/.profile
|
||||||
|
|
||||||
|
# install jelly
|
||||||
|
git clone -q https://github.com/DennisMitchell/jellylanguage.git
|
||||||
|
cd jellylanguage
|
||||||
|
pip3 install --upgrade --user .
|
||||||
|
|
||||||
# install julia
|
# install julia
|
||||||
# final binary: /opt/julia/julia-1.5.0/bin/julia
|
# final binary: /opt/julia/julia-1.5.0/bin/julia
|
||||||
# get version: /opt/julia/julia-1.5.0/bin/julia --version
|
# 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
|
- go
|
||||||
- haskell
|
- haskell
|
||||||
- java
|
- java
|
||||||
|
- jelly
|
||||||
- julia
|
- julia
|
||||||
- kotlin
|
- kotlin
|
||||||
- nasm
|
- nasm
|
||||||
|
|
Loading…
Reference in New Issue