-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoperators.json
60 lines (60 loc) · 1 KB
/
operators.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
{
"operators": {
"+": "addition",
"-": "subtraction",
"*": "multiplication",
"/": "division",
"^": "exponentiation",
"%": "modulus",
"if": "if",
"elif": "elif",
"else": "else",
"=": "assign",
">": "greater",
"<": "less",
"==": "equal",
"!=": "not_equal",
"and": "and",
"or": "or",
"not": "not",
"fun": "function",
"return": "return",
"while": "while",
"for": "for",
"break": "break",
"continue": "continue",
"@": "decorator",
"$": "directive",
":": "body_start",
"->": "return_type",
".": "access"
},
"similar_operators": {
"-": [
"->"
],
"=": [
"=="
]
},
"binary_operator_names": [
"addition",
"subtraction",
"multiplication",
"division",
"exponentiation",
"modulus",
"greater",
"less",
"equal",
"not_equal"
],
"logic_operator_names": [
"and",
"or"
],
"fastpy_cpp_equivalents": {
"and": "&&",
"or": "||"
}
}