-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
56 lines (56 loc) · 1.71 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
{
"id": "python/alecgraves-whitespac3",
"name": "whitespac3",
"authors": ["Alec Graves"],
"license": "GPL-3.0-or-later",
"languages": ["Python"],
"tags": ["interpreter"],
"date": "2016-11-17 18:52:26 -0500",
"spec_version": "0.3",
"source": ["https://github.com/alecGraves/whitespac3"],
"submodules": [{ "path": "whitespac3", "url": "https://github.com/alecGraves/whitespac3" }],
"relations": [{ "id": "python/mcolom", "type": "fork", "commit": "22b569acbf34d9a1fa87e153657bea4793b14315" }],
"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"
},
"usage": ["enum"]
},
"commands": [
{
"type": "interpreter",
"bin": "interpreter.py",
"usage": "[-h | --help] [-v | --verbose] [-s | --stack] [-p | --pause] <file>",
"options": [
{ "short": "h", "long": "help", "desc": "show this help message and exit" },
{ "short": "v", "long": "verbose", "desc": "Activate verbose mode" },
{ "short": "s", "long": "stack", "desc": "Show the stack after each intruction execution" },
{ "short": "p", "long": "pause", "desc": "Pause the execution after each instruction" }
],
"option_parse": "Python optparse"
}
]
}