-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
54 lines (54 loc) · 1.94 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
{
"id": "cpp/shadowmitia",
"name": "Whitespace interpreter",
"authors": ["Dimitri Belopopsky"],
"license": "none",
"languages": ["C++"],
"tags": ["interpreter", "programs"],
"date": "2021-11-11 11:43:57 +0100",
"spec_version": "0.3",
"source": ["https://github.com/ShadowMitia/whitespace"],
"submodules": [{ "path": "whitespace", "url": "https://github.com/ShadowMitia/whitespace" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "Push",
"dup": "Dup",
"copy": "Ref",
"swap": "Swap",
"drop": "Discard",
"slide": "Slide",
"add": "InfixPlus",
"sub": "InfixMinus",
"mul": "InfixTimes",
"div": "InfixDivide",
"mod": "InfixModulo",
"store": "Store",
"retrieve": "Retrieve",
"label": "Label",
"call": "Call",
"jmp": "Jump",
"jz": "IfZero",
"jn": "IfNegative",
"ret": "Return",
"end": "End",
"printc": "OutputChar",
"printi": "OutputNum",
"readc": "ReadChar",
"readi": "ReadNum"
},
"usage": ["enum"]
},
"programs": [
{ "path": "examples/calc.ws", "equivalent": "calc.ws", "spec_version": "0.2" },
{ "path": "examples/count.ws", "equivalent": "count.ws", "spec_version": "0.2" },
{ "path": "examples/fact.ws", "equivalent": "fact.ws", "spec_version": "0.2" },
{ "path": "examples/fibonacci.ws", "equivalent": "fibonacci.ws", "spec_version": "0.2" },
{ "path": "examples/hanoi.ws", "equivalent": "hanoi.ws", "spec_version": "0.2" },
{ "path": "examples/hworld.ws", "equivalent": "hworld.ws", "spec_version": "0.2" },
{ "path": "examples/loctest.ws", "equivalent": "loctest.ws", "spec_version": "0.3" },
{ "path": "examples/name.ws", "equivalent": "name.ws", "spec_version": "0.2" },
{ "path": "examples/wikipedia_example.ws", "spec_version": "0.2" }
],
"commands": [{ "bin": "wspace", "usage": "<file>", "input": "<file>", "output": "stdout" }]
}