forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
55 lines (55 loc) · 1.5 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
{
"id": "python/q2ven-whitespyce",
"name": "whitespyce",
"authors": ["q2ven"],
"license": "none",
"languages": ["Python"],
"tags": ["interpreter", "debugger", "text to Whitespace", "programs"],
"date": "2018-05-17 23:12:05 +0900",
"spec_version": "0.2",
"source": ["https://gitlab.com/q2ven/whitespyce"],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["push"],
"dup": ["duplicate"],
"swap": ["swap"],
"drop": ["discard"],
"add": ["add"],
"sub": ["sub"],
"mul": ["mul"],
"div": ["div"],
"mod": ["mod"],
"store": ["store"],
"retrieve": ["retrieve"],
"label": ["mark"],
"call": ["call"],
"jmp": ["jump"],
"jz": ["jump_zero"],
"jn": ["jump_negative"],
"ret": ["control_back"],
"end": ["end"],
"printc": ["printc"],
"printi": ["printi"],
"readc": ["readc"],
"readi": ["readi"]
},
"usage": ["debugger", "enum"]
},
"mappings": [
{
"space": "\u001b[6;30;41m ",
"tab": "\u001b[6;30;42m ",
"lf": "\u001b[6;30;43m ",
"notes": "Displayed in debugger. Tokens are delimited with \"|\" and instructions are terminated with \"\u001b[0m\"."
}
],
"programs": [
{
"path": "samples/gen.py",
"generated": "samples/helloworld.ws",
"generate": "python3 samples/gen.py > samples/helloworld.ws"
}
],
"commands": [{ "type": "interpreter", "bin": "interpreter.py", "usage": "<file> [debug]" }]
}