forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
52 lines (52 loc) · 1.58 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": "rust/omurakazuaki",
"name": "Whitespace interpreter",
"authors": ["Kazuaki Omura"],
"license": "none",
"languages": ["Rust"],
"tags": ["interpreter", "programs"],
"date": "2021-03-30 23:11:02 +0900",
"spec_version": "0.3",
"source": [
"https://github.com/wspace/omurakazuaki-rust",
"https://github.com/omurakazuaki/WriteCodeEveryDay/tree/main/rust/whitespace",
"https://github.com/thaliaarchi/repo-archival/blob/main/scripts/wspace/omurakazuaki-rust.sh"
],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["Push"],
"dup": ["Duplicate"],
"copy": ["Copy"],
"swap": ["Swap"],
"drop": ["Discard"],
"slide": ["Slide"],
"add": ["Addition"],
"sub": ["Subtraction"],
"mul": ["Multiplication"],
"div": ["Division"],
"mod": ["Modulo"],
"store": ["Store"],
"retrieve": ["Retrieve"],
"label": ["Mark"],
"call": ["Call"],
"jmp": ["Jump"],
"jz": ["JumpZero"],
"jn": ["JumpNegative"],
"ret": ["Return"],
"end": ["End"],
"printc": ["OutputChar"],
"printi": ["OutputNumber"],
"readc": ["ReadChar"],
"readi": ["ReadNumber"]
},
"usage": ["enum"]
},
"programs": [
{ "path": "samples/bf.ws", "spec_version": "0.3" },
{ "path": "samples/fizzbuzz.ws", "spec_version": "0.2" },
{ "path": "samples/hanoi.ws", "equivalent": "hanoi.ws", "spec_version": "0.2" },
{ "path": "samples/helloworld.ws", "spec_version": "0.2" }
],
"commands": [{ "bin": "target/release/whitespace", "usage": "<file>" }]
}