-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkeywords_lookup.json
77 lines (77 loc) · 1.61 KB
/
keywords_lookup.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"and&&": {
"cpp": "&&",
"java": "&&",
"python": "and"
},
"or||": {
"cpp": "||",
"java": "||",
"python": "or"
},
"not!": {
"cpp": "!",
"java": "!",
"python": "not"
},
"elseif": {
"cpp": "else if",
"java": "else if",
"python": "elif"
},
"else": {
"cpp": "else {",
"java": "else",
"python": "else"
},
"if": {
"cpp": "if (@) {\n @\n}\n",
"java": "if (@) {\n @\n} \n",
"python": "if @:\n @"
},
"for": {
"cpp": "int variable=start; variablesignstop; variablestep",
"java": "int variable=start; variablesignstop; variablestep",
"python": "variable in range(start,stop,step)"
},
"false": {
"cpp": "false",
"java": "false",
"python": "False"
},
"true": {
"cpp": "true",
"java": "true",
"python": "True"
},
"bool": {
"cpp": "bool",
"java": "boolean",
"python": ""
},
"stringString": {
"cpp": "string",
"java": "String",
"python": ""
},
"stdcoutprintln": {
"cpp": "std::cout<<@;\n",
"java": "System.out.println(@);\n",
"python": "print(@)\n"
},
"while": {
"cpp": "while",
"java": "while",
"python": "while"
},
"break": {
"cpp": "break;\n",
"java": "break;\n",
"python": "break\n"
},
"continue": {
"cpp": "continue;\n",
"java": "continue;\n",
"python": "continue\n"
}
}