forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
62 lines (62 loc) · 1.26 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
59
60
61
62
{
"id": "python/ffanzhang",
"name": "ws",
"authors": ["ffanzhang"],
"license": "MIT",
"languages": ["Python"],
"tags": ["interpreter"],
"date": "2021-03-06 22:34:15 -0800",
"spec_version": "0.2",
"source": ["https://github.com/ffanzhang/ws"],
"whitespace": {
"unimplemented": [
"dup",
"swap",
"drop",
"add",
"sub",
"mul",
"div",
"mod",
"store",
"retrieve",
"label",
"call",
"jmp",
"jz",
"jn",
"ret",
"readc",
"readi"
]
},
"assembly": {
"mnemonics": {
"push": ["PUSH"],
"dup": ["DUPL"],
"swap": ["SWAP"],
"drop": ["DISC"],
"add": ["ADD"],
"sub": ["SUB"],
"mul": ["MUL"],
"div": ["DIV"],
"mod": ["MOD"],
"store": ["PUT"],
"retrieve": ["GET"],
"label": ["MARK"],
"call": ["CALL"],
"jmp": ["JUMP"],
"jz": ["JZER"],
"jn": ["JNEG"],
"ret": ["ENDS"],
"end": ["ENDP"],
"printc": ["OTC"],
"printi": ["OTN"],
"readc": ["RDC"],
"readi": ["RDN"]
},
"usage": ["enum"]
},
"programs": [{ "path": "test/helloworld.ws", "spec_version": "0.2" }],
"commands": [{ "bin": "ws.py", "usage": "< <file>", "input": "stdin" }]
}