This repository has been archived by the owner on Nov 8, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setting.yaml
93 lines (93 loc) · 3.26 KB
/
setting.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
langs:
type: textarea
category: system
desc: Language file settings
name: langs
default: |
ccWithoutO2:
type: compiler
compile: /usr/bin/g++ -Wall -o ${name} foo.cc
code_file: foo.cc
execute: ${dir}/${name}
c:
type: compiler
compile: /usr/bin/gcc -O2 -Wall -std=c99 -o ${name} foo.c -lm
code_file: foo.c
execute: ${dir}/${name}
cc:
type: compiler
compile: /usr/bin/g++ -O2 -Wall -std=c++11 -o ${name} foo.cc -lm
code_file: foo.cc
execute: ${dir}/${name}
cc98:
type: compiler
compile: /usr/bin/g++ -O2 -Wall -std=c++11 -o ${name} foo.cc -lm
code_file: foo.cc
execute: ${dir}/${name}
cc11:
type: compiler
compile: /usr/bin/g++ -O2 -Wall -std=c++11 -o ${name} foo.cc -lm
code_file: foo.cc
execute: ${dir}/${name}
cc17:
type: compiler
compile: /usr/bin/g++ -O2 -Wall -std=c++17 -o ${name} foo.cc -lm
code_file: foo.cc
execute: ${dir}/${name}
pas:
type: compiler
compile: /usr/bin/fpc -O2 -o${dir}/${name} foo.pas
code_file: foo.pas
execute: ${dir}/${name}
java:
type: compiler
compile: /usr/bin/javac -d ${dir} -encoding utf8 ./Main.java
code_file: Main.java
execute: /usr/bin/java Main
py:
type: compiler
compile: /usr/bin/python -c "import py_compile; py_compile.compile('${dir}/foo.py', '${dir}/${name}', doraise=True)"
code_file: foo.py
execute: /usr/bin/python ${name}
py2:
type: compiler
compile: /usr/bin/python -c "import py_compile; py_compile.compile('${dir}/foo.py', '${dir}/${name}', doraise=True)"
code_file: foo.py
execute: /usr/bin/python ${name}
py3:
type: compiler
compile: /usr/bin/python3 -c "import py_compile; py_compile.compile('${dir}/foo.py', '${dir}/${name}', doraise=True)"
code_file: foo.py
execute: /usr/bin/python3 ${name}
php:
type: interpreter
code_file: foo.php
execute: /usr/bin/php ${name}
rs:
type: compiler
compile: /usr/bin/rustc -O -o ${dir}/${name} ${dir}/foo.rs
code_file: foo.rs
execute: ${dir}/${name}
hs:
type: compiler
compile: /usr/bin/ghc -O -outputdir /tmp -o ${name} foo.hs
code_file: foo.hs
execute: ${dir}/${name}
js:
type: interpreter
code_file: foo.js
execute: /usr/bin/jsc ${dir}/${name}
go:
type: compiler
compile: /usr/bin/go build -o ${name} foo.go
code_file: foo.go
execute: ${dir}/${name}
rb:
type: interpreter
code_file: foo.rb
execute: /usr/bin/ruby ${name}
cs:
type: compiler
compile: /usr/bin/mcs -optimize+ -out:${dir}/${name} ${dir}/foo.cs
code_file: foo.cs
execute: /usr/bin/mono ${name}