forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
49 lines (49 loc) · 1.27 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
{
"id": "cpp/dpohanlon-wsint",
"name": "wsInt",
"authors": ["Daniel O'Hanlon"],
"license": "none",
"languages": ["C++"],
"tags": ["interpreter", "disassembler", "mapping"],
"date": "2012-12-02 06:45:50 -0800",
"spec_version": "0.2",
"source": ["https://github.com/wspace/dpohanlon-wsint", "https://github.com/dpohanlon/wsInt"],
"assembly": {
"mnemonics": {
"push": ["Push"],
"dup": ["Dup"],
"swap": ["Swap"],
"drop": ["Discard"],
"add": ["Plus"],
"sub": ["Minus"],
"mul": ["Times"],
"div": ["Divide"],
"mod": ["Modulo"],
"store": ["Store"],
"retrieve": ["Retrieve"],
"label": ["Mark"],
"call": ["Call"],
"jmp": ["Jump"],
"jz": ["JumpZ"],
"jn": ["JumpN"],
"ret": ["Return"],
"end": ["End"],
"printc": ["WriteChar"],
"printi": ["WriteInt"],
"readc": ["ReadChar"],
"readi": ["ReadInt"]
},
"indentation": "",
"binary_numbers": true,
"usage": ["disassembler"]
},
"mappings": [{ "space": "A", "tab": "B", "lf": "C", "spaces_between": false }],
"commands": [
{
"type": "interpreter",
"bin": "bin/wsInt",
"usage": "<file>",
"notes": "Prints mapping and disassembled program before executing"
}
]
}