-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
58 lines (58 loc) · 1.76 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
51
52
53
54
55
56
57
58
{
"id": "python/katc",
"name": "Whitespace Parser",
"authors": ["友利奈緒 (Tomori Nao)"],
"license": "none",
"languages": ["Python"],
"tags": ["disassembler"],
"date": "2015-07-08 09:52:33 -0700",
"spec_version": "0.3",
"source": ["https://gist.github.com/K-atc/02b402e9812e066afb78"],
"submodules": [{ "path": "whitespace", "url": "https://gist.github.com/K-atc/02b402e9812e066afb78" }],
"assembly": {
"mnemonics": {
"push": "PUSH",
"dup": "SDUPLI",
"copy": "SCOPY",
"swap": "SSWAP",
"drop": "SDISCARD",
"slide": "SSLIDE",
"add": "ADD",
"sub": "SUB",
"mul": "MUL",
"div": "DIV",
"mod": "MOD",
"store": "STORE",
"retrieve": "RETRIEVE",
"label": "LABEL",
"call": "CALL",
"jmp": "JUMP",
"jz": "JUMP-ZERO",
"jn": "JUMP-NEG",
"ret": "RETURN",
"end": "END",
"printc": "OUT-CHAR",
"printi": "OUT-NUM",
"readc": "IN-CHAR",
"readi": "IN-NUM"
},
"line_comments": [";"],
"indentation": "",
"usage": ["disassembler"]
},
"commands": [
{
"type": "disassembler",
"bin": "whitespace.py",
"usage": "[-h | --help] [-v | --verbose] [-p | --parse] <file>",
"options": [
{ "short": "h", "long": "help", "desc": "show this help message and exit" },
{ "short": "v", "long": "verbose", "desc": "Activate verbose mode" },
{ "short": "p", "long": "parse", "desc": "Pause the execution after each instruction" }
],
"option_parse": "Python optparse",
"notes": "Interpreter and -v/--verbose are not implemented. Disassemble with --parse."
}
],
"notes": "Shares instruction definitions in whitespace.py with python/alecgraves-whitespac3; relationship unclear"
}