-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
52 lines (52 loc) · 1.52 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
{
"id": "ruby/shimpeisaito",
"name": "whitespace-interpreter",
"authors": ["Shimpei Saito"],
"license": "none",
"languages": ["Ruby"],
"tags": ["interpreter", "programs"],
"date": "2022-11-13 20:00:23 +0900",
"spec_version": "0.3",
"source": ["https://github.com/ShimpeiSaito/whitespace-interpreter"],
"submodules": [
{ "path": "whitespace-interpreter", "url": "https://github.com/ShimpeiSaito/whitespace-interpreter" }
],
"assembly": {
"mnemonics": {
"push": "push",
"dup": "duplicate",
"copy": "n_duplicate",
"swap": "switch",
"drop": "discard",
"slide": "n_discard",
"add": "add",
"sub": "sub",
"mul": "mul",
"div": "div",
"mod": "rem",
"store": "h_push",
"retrieve": "h_pop",
"label": "label_mark",
"call": "sub_start",
"jmp": "jump",
"jz": "jump_zero",
"jn": "jump_negative",
"ret": "sub_end",
"end": "end",
"printc": "output_char",
"printi": "output_num",
"readc": "input_char",
"readi": "input_num"
},
"usage": ["enum"]
},
"programs": [
{ "path": "samples/calculator.ws", "spec_version": "0.2" },
{ "path": "samples/count.ws", "spec_version": "0.2" },
{ "path": "samples/fact.ws", "spec_version": "0.2" },
{ "path": "samples/fibonacci.ws", "spec_version": "0.2" },
{ "path": "samples/hanoi.ws", "spec_version": "0.2" },
{ "path": "samples/hello.ws", "spec_version": "0.2" },
{ "path": "samples/name.ws", "spec_version": "0.2" }
]
}