-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
50 lines (50 loc) · 1.38 KB
/
project.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
{
"id": "cpp/frmsaul-cupertino",
"name": "Cupertino-WhiteSpace-Interperter",
"authors": ["Saul Fuhrmann"],
"license": "none",
"languages": ["C++"],
"tags": ["interpreter", "programs"],
"date": "2015-05-22 21:54:51 -0700",
"spec_version": "0.3",
"source": ["https://github.com/frmsaul/Cupertino-WhiteSpace-Interperter"],
"submodules": [
{
"path": "Cupertino-WhiteSpace-Interperter",
"url": "https://github.com/frmsaul/Cupertino-WhiteSpace-Interperter"
}
],
"whitespace": { "extension": "hs" },
"assembly": {
"mnemonics": {
"push": "PUSH",
"dup": "DUP_TOP",
"copy": "DUP_NTH",
"swap": "SWOP_2_TOP",
"drop": "POP",
"slide": "POP_N",
"add": "ADD",
"sub": "SUBTRUCT",
"mul": "MULTIPLY",
"div": "DIVIDE",
"mod": "MOD",
"store": "STORE",
"retrieve": "RETRIEVE",
"label": "MARK_LABLE",
"call": "CALL",
"jmp": "JMP",
"jz": "JMP_IF_0",
"jn": "JMP_IF_NEG",
"ret": "RETURN",
"end": "END_PROGRAM",
"printc": "WRITE_CHAR",
"printi": "WRITE_NUM",
"readc": "READ_CHAR",
"readi": "READ_NUM"
},
"usage": ["enum"]
},
"programs": [{ "path": "whitespace_code/hello_world.hs", "spec_version": "0.2" }],
"commands": [{ "type": "interpreter", "bin": "whitespace", "usage": "<file>" }],
"notes": "Tests have no entrypoint"
}