-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
37 lines (35 loc) · 2.05 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python
ITSELF = ["$INPUT"]
MKDIR = ["/bin/mkdir", "-p", "$INPUT"]
EXECUTABLE_EXT = None
ADA_COMPILER = ["/usr/bin/gnat", "make", "-o", "$OUTPUT", "$INPUT"]
AWK_INTERPRETER = ["/usr/bin/awk", "-f", "$INPUT"]
BASH_INTERPRETER = ["/bin/bash", "$INPUT"]
BF_INTERPRETER = ["/usr/bin/bf", "$INPUT"]
C_COMPILER = ["/usr/bin/gcc", "-std=c99", "-o", "$OUTPUT", "$INPUT", "-lm"]
CLISP_INTERPRETER = ["/usr/bin/clisp", "$INPUT"]
CLOJURE_INTERPRETER = ["/usr/bin/java", "-jar", "/opt/clojure-1.4.jar", "$INPUT"]
CPP_COMPILER = ["/usr/bin/g++", "-std=c++0x", "-o", "$OUTPUT", "$INPUT", "-lm"]
CSHARP_COMPILER = ["/usr/bin/gmcs", "-out:$OUTPUT", "$INPUT"]
CSHARP_LAUNCHER = ["/usr/bin/mono", "$INPUT"]
D_COMPILER = ["/usr/bin/dmd", "-o", "$OUTPUT", "$INPUT"]
EXE_LAUNCHER = ["/usr/bin/cognac", "--backslash-none", "$INPUT"]
FORTRAN_COMPILER = ["/usr/bin/gfortran-4.6", "-o", "$OUTPUT", "$INPUT"]
FSHARP_COMPILER = ["/usr/bin/fsharpc", "-out:$OUTPUT", "$INPUT"]
FSHARP_LAUNCHER = ["/usr/bin/mono", "$INPUT"]
GO_LAUNCHER = ["/opt/go/bin/go", "run", "$INPUT"]
HASKELL_COMPILER = ["/usr/bin/ghc", "-outputdir", "$OUTPUT.dir", "-o", "$OUTPUT", "$INPUT"]
JAVA_COMPILER = ["/usr/bin/javac", "-d", "$OUTPUT", "$INPUT"]
JAVA_LAUNCHER = ["/usr/bin/java", "-cp", "$INPUT", "Main"]
JS_INTERPRETER = ["/usr/bin/rhino", "-s", "$INPUT"]
OCAML_COMPILER = ["/usr/bin/ocamlc", "-o", "$OUTPUT", "$INPUT"]
OCAML_LAUNCHER = ["/usr/bin/ocamlrun", "$INPUT"]
PHP_INTERPRETER = ["/usr/bin/php", "$INPUT"]
PERL_INTERPRETER = ["/usr/bin/perl", "$INPUT"]
PROLOG_INTERPRETER = ["/usr/bin/swipl", "-s", "$INPUT"]
PYTHON_INTERPRETER = ["/usr/bin/python", "$INPUT"]
RUBY_INTERPRETER = ["/usr/bin/irb", "$INPUT"]
SCALA_COMPILER = ["/opt/scala-2.9.2/bin/scalac", "-d", "$OUTPUT", "$INPUT"]
SCALA_LAUNCHER = ["/opt/scala-2.9.2/bin/scala", "-cp", "$INPUT", "Main"]
SCHEME_INTERPRETER = ["/usr/bin/scheme-r5rs", "$INPUT"]
TCL_INTERPRETER = ["/usr/bin/tcl", "$INPUT"]