forked from ugwis/online-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
languages.json
62 lines (62 loc) · 1.76 KB
/
languages.json
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
{
"C++17": {
"mode": "ace/mode/c_cpp",
"identifier": "cpp17",
"code": "#include <bits/stdc++.h>\n\nusing namespace std;\n\nint main(){\n\t//cout << \"Hello,World\" << endl;\n\t\n\treturn 0;\n}"
},
"C++14": {
"mode": "ace/mode/c_cpp",
"identifier": "cpp14",
"code": "#include <bits/stdc++.h>\n\nusing namespace std;\n\nint main(){\n\t//cout << \"Hello,World\" << endl;\n\t\n\treturn 0;\n}"
},
"C++11": {
"mode": "ace/mode/c_cpp",
"identifier": "cpp11",
"code": "#include <bits/stdc++.h>\n\nusing namespace std;\n\nint main(){\n\t//cout << \"Hello,World\" << endl;\n\t\n\treturn 0;\n}"
},
"C++": {
"mode": "ace/mode/c_cpp",
"identifier": "cpp",
"code": "#include <bits/stdc++.h>\n\nusing namespace std;\n\nint main(){\n\t//cout << \"Hello,World\" << endl;\n\t\n\treturn 0;\n}"
},
"C": {
"mode": "ace/mode/c_cpp",
"identifier": "c",
"code": "#include <stdio.h>\n\nint main(){\n\t//printf(\"Hello,world\\n\");\n\t\n\treturn 0;\n}"
},
"Python": {
"mode": "ace/mode/python",
"identifier": "python",
"code": "print(\"Hello,World\")"
},
"Python2": {
"mode": "ace/mode/python",
"identifier": "python2",
"code": "print \"Hello,World\""
},
"PHP": {
"mode": "ace/mode/php",
"identifier": "php",
"code": "<?php\nprint(\"Hello,World\");\n?>"
},
"Bash": {
"mode": "ace/mode/bash",
"identifier": "bash",
"code": "echo Hello,World"
},
"Rust": {
"mode": "ace/mode/rust",
"identifier": "rust",
"code": "fn main() {\n\tprintln!(\"Hello World!\");\n}"
},
"Golang": {
"mode": "ace/mode/golang",
"identifier": "golang",
"code": "package main\nimport \"fmt\"\n\nfunc main() {\n\tfmt.Printf(\"Hello World\\n\")\n}"
},
"JavaScript": {
"mode": "ace/mode/javascript",
"identifier": "node",
"code": "console.log(\"Hello World!\");"
}
}