-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnatives.json
43 lines (43 loc) · 897 Bytes
/
natives.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
{
"functions": {
"+": "add",
"-": "subtract",
"/": "divide",
"*": "multiply",
"div": "division",
"format": "format",
"mod": "mod",
"eqv": "eqv",
"<": "less_than",
">": "greater_than",
"=": "num_equal",
"<=": "less_than_eql",
">=": "greater_than_eql",
"and": "logical_and",
"or": "logical_or",
"not": "logical_not",
"list": "list",
"car": "car",
"cdr": "cdr",
"length": "length",
"cons": "cons",
"append": "append",
"reverse": "reverse",
"funcall": "funcall",
"apply": "apply"
},
"variables": {
},
"factories": {
"int": "new_integer",
"float": "new_real",
"complex": "new_complex",
"rational": "new_rational",
"string": "new_string",
"keyword": "new_keyword",
"true": "get_true",
"false": "get_false",
"lambda": "new_lambda",
"nil": "get_nil"
}
}