Spaces:
Build error
Build error
@languages ||= [] | |
@languages += | |
[ | |
{ | |
id: 1, | |
name: "Bash (4.4)", | |
is_archived: true, | |
source_file: "script.sh", | |
run_cmd: "/usr/local/bash-4.4/bin/bash script.sh" | |
}, | |
{ | |
id: 2, | |
name: "Bash (4.0)", | |
is_archived: true, | |
source_file: "script.sh", | |
run_cmd: "/usr/local/bash-4.0/bin/bash script.sh" | |
}, | |
{ | |
id: 3, | |
name: "Basic (fbc 1.05.0)", | |
is_archived: true, | |
source_file: "main.bas", | |
compile_cmd: "/usr/local/fbc-1.05.0/bin/fbc %s main.bas", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 4, | |
name: "C (gcc 7.2.0)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-7.2.0/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 5, | |
name: "C (gcc 6.4.0)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-6.4.0/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 6, | |
name: "C (gcc 6.3.0)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-6.3.0/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 7, | |
name: "C (gcc 5.4.0)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-5.4.0/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 8, | |
name: "C (gcc 4.9.4)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-4.9.4/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 9, | |
name: "C (gcc 4.8.5)", | |
is_archived: true, | |
source_file: "main.c", | |
compile_cmd: "/usr/local/gcc-4.8.5/bin/gcc %s main.c", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 10, | |
name: "C++ (g++ 7.2.0)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-7.2.0/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-7.2.0/lib64 ./a.out" | |
}, | |
{ | |
id: 11, | |
name: "C++ (g++ 6.4.0)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-6.4.0/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-6.4.0/lib64 ./a.out" | |
}, | |
{ | |
id: 12, | |
name: "C++ (g++ 6.3.0)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-6.3.0/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-6.3.0/lib64 ./a.out" | |
}, | |
{ | |
id: 13, | |
name: "C++ (g++ 5.4.0)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-5.4.0/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-5.4.0/lib64 ./a.out" | |
}, | |
{ | |
id: 14, | |
name: "C++ (g++ 4.9.4)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-4.9.4/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-4.9.4/lib64 ./a.out" | |
}, | |
{ | |
id: 15, | |
name: "C++ (g++ 4.8.5)", | |
is_archived: true, | |
source_file: "main.cpp", | |
compile_cmd: "/usr/local/gcc-4.8.5/bin/g++ %s main.cpp", | |
run_cmd: "LD_LIBRARY_PATH=/usr/local/gcc-4.8.5/lib64 ./a.out" | |
}, | |
{ | |
id: 16, | |
name: "C# (mono 5.4.0.167)", | |
is_archived: true, | |
source_file: "Main.cs", | |
compile_cmd: "/usr/local/mono-5.4.0.167/bin/mcs %s Main.cs", | |
run_cmd: "/usr/local/mono-5.4.0.167/bin/mono Main.exe" | |
}, | |
{ | |
id: 17, | |
name: "C# (mono 5.2.0.224)", | |
is_archived: true, | |
source_file: "Main.cs", | |
compile_cmd: "/usr/local/mono-5.2.0.224/bin/mcs %s Main.cs", | |
run_cmd: "/usr/local/mono-5.2.0.224/bin/mono Main.exe" | |
}, | |
{ | |
id: 18, | |
name: "Clojure (1.8.0)", | |
is_archived: true, | |
source_file: "main.clj", | |
run_cmd: "/usr/bin/java -cp /usr/local/clojure-1.8.0/clojure-1.8.0.jar clojure.main main.clj" | |
}, | |
{ | |
id: 19, | |
name: "Crystal (0.23.1)", | |
is_archived: true, | |
source_file: "main.cr", | |
compile_cmd: "/usr/local/crystal-0.23.1-3/bin/crystal build %s main.cr", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 20, | |
name: "Elixir (1.5.1)", | |
is_archived: true, | |
source_file: "main.exs", | |
run_cmd: "/usr/local/elixir-1.5.1/bin/elixir main.exs" | |
}, | |
{ | |
id: 21, | |
name: "Erlang (OTP 20.0)", | |
is_archived: true, | |
source_file: "main.erl", | |
run_cmd: "/bin/sed -i \"s/^/\\n/\" main.erl && /usr/local/erlang-20.0/bin/escript main.erl" | |
}, | |
{ | |
id: 22, | |
name: "Go (1.9)", | |
is_archived: true, | |
source_file: "main.go", | |
compile_cmd: "/usr/local/go-1.9/bin/go build %s main.go", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 23, | |
name: "Haskell (ghc 8.2.1)", | |
is_archived: true, | |
source_file: "main.hs", | |
compile_cmd: "/usr/local/ghc-8.2.1/bin/ghc %s main.hs", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 24, | |
name: "Haskell (ghc 8.0.2)", | |
is_archived: true, | |
source_file: "main.hs", | |
compile_cmd: "/usr/local/ghc-8.0.2/bin/ghc %s main.hs", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 25, | |
name: "Insect (5.0.0)", | |
is_archived: true, | |
source_file: "main.ins", | |
run_cmd: "/usr/local/insect-5.0.0/insect main.ins" | |
}, | |
{ | |
id: 26, | |
name: "Java (OpenJDK 9 with Eclipse OpenJ9)", | |
is_archived: true, | |
source_file: "Main.java", | |
compile_cmd: "/usr/local/openjdk9-openj9/bin/javac %s Main.java", | |
run_cmd: "/usr/local/openjdk9-openj9/bin/java Main" | |
}, | |
{ | |
id: 27, | |
name: "Java (OpenJDK 8)", | |
is_archived: true, | |
source_file: "Main.java", | |
compile_cmd: "/usr/lib/jvm/java-8-openjdk-amd64/bin/javac %s Main.java", | |
run_cmd: "/usr/lib/jvm/java-8-openjdk-amd64/bin/java Main", | |
}, | |
{ | |
id: 28, | |
name: "Java (OpenJDK 7)", | |
is_archived: true, | |
source_file: "Main.java", | |
compile_cmd: "/usr/lib/jvm/java-7-openjdk-amd64/bin/javac %s Main.java", | |
run_cmd: "/usr/lib/jvm/java-7-openjdk-amd64/bin/java Main", | |
}, | |
{ | |
id: 29, | |
name: "JavaScript (nodejs 8.5.0)", | |
is_archived: true, | |
source_file: "main.js", | |
run_cmd: "/usr/local/node-8.5.0/bin/node main.js" | |
}, | |
{ | |
id: 30, | |
name: "JavaScript (nodejs 7.10.1)", | |
is_archived: true, | |
source_file: "main.js", | |
run_cmd: "/usr/local/node-7.10.1/bin/node main.js" | |
}, | |
{ | |
id: 31, | |
name: "OCaml (4.05.0)", | |
is_archived: true, | |
source_file: "main.ml", | |
compile_cmd: "/usr/local/ocaml-4.05.0/bin/ocamlc %s main.ml", | |
run_cmd: "./a.out" | |
}, | |
{ | |
id: 32, | |
name: "Octave (4.2.0)", | |
is_archived: true, | |
source_file: "file.m", | |
run_cmd: "/usr/local/octave-4.2.0/bin/octave-cli -q --no-gui --no-history file.m" | |
}, | |
{ | |
id: 33, | |
name: "Pascal (fpc 3.0.0)", | |
is_archived: true, | |
source_file: "main.pas", | |
compile_cmd: "/usr/local/fpc-3.0.0/bin/fpc %s main.pas", | |
run_cmd: "./main" | |
}, | |
{ | |
id: 34, | |
name: "Python (3.6.0)", | |
is_archived: true, | |
source_file: "main.py", | |
run_cmd: "/usr/local/python-3.6.0/bin/python3 main.py" | |
}, | |
{ | |
id: 35, | |
name: "Python (3.5.3)", | |
is_archived: true, | |
source_file: "main.py", | |
run_cmd: "/usr/local/python-3.5.3/bin/python3 main.py" | |
}, | |
{ | |
id: 36, | |
name: "Python (2.7.9)", | |
is_archived: true, | |
source_file: "main.py", | |
run_cmd: "/usr/local/python-2.7.9/bin/python main.py" | |
}, | |
{ | |
id: 37, | |
name: "Python (2.6.9)", | |
is_archived: true, | |
source_file: "main.py", | |
run_cmd: "/usr/local/python-2.6.9/bin/python main.py" | |
}, | |
{ | |
id: 38, | |
name: "Ruby (2.4.0)", | |
is_archived: true, | |
source_file: "main.rb", | |
run_cmd: "/usr/local/ruby-2.4.0/bin/ruby main.rb" | |
}, | |
{ | |
id: 39, | |
name: "Ruby (2.3.3)", | |
is_archived: true, | |
source_file: "main.rb", | |
run_cmd: "/usr/local/ruby-2.3.3/bin/ruby main.rb" | |
}, | |
{ | |
id: 40, | |
name: "Ruby (2.2.6)", | |
is_archived: true, | |
source_file: "main.rb", | |
run_cmd: "/usr/local/ruby-2.2.6/bin/ruby main.rb" | |
}, | |
{ | |
id: 41, | |
name: "Ruby (2.1.9)", | |
is_archived: true, | |
source_file: "main.rb", | |
run_cmd: "/usr/local/ruby-2.1.9/bin/ruby main.rb" | |
}, | |
{ | |
id: 42, | |
name: "Rust (1.20.0)", | |
is_archived: true, | |
source_file: "main.rs", | |
compile_cmd: "/usr/local/rust-1.20.0/bin/rustc %s main.rs", | |
run_cmd: "./main" | |
} | |
] |