-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
66 lines (66 loc) · 1.97 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
63
64
65
66
{
"id": "rust/guricerin",
"name": "whitespace-rs",
"authors": ["guricerin"],
"license": "MIT",
"languages": ["Rust"],
"tags": ["interpreter", "programs"],
"date": "2021-07-04 14:10:41 +0900",
"spec_version": "0.3",
"source": ["https://github.com/guricerin/esolangs"],
"submodules": [{ "path": "esolangs", "url": "https://github.com/guricerin/esolangs" }],
"relations": [{ "id": "ruby/yhara-esolang-book", "type": "design" }],
"bounds": { "precision": "int64", "arg_precision": "int64", "label_precision": "arbitrary", "heap_min": 0 },
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "Push",
"dup": "Dup",
"copy": "Copy",
"swap": "Swap",
"drop": "Discard",
"slide": "Slide",
"add": "Add",
"sub": "Sub",
"mul": "Mul",
"div": "Div",
"mod": "Mod",
"store": "HeapWrite",
"retrieve": "HeapRead",
"label": "Label",
"call": "Call",
"jmp": "Jump",
"jz": "JumpZero",
"jn": "JumpNeg",
"ret": "Return",
"end": "Exit",
"printc": "CharOut",
"printi": "NumOut",
"readc": "CharIn",
"readi": "NumIn"
},
"usage": ["enum"]
},
"programs": [
{ "path": "whitespace-rs/examples/fact.ws", "equivalent": "fact.ws", "spec_version": "0.2" },
{ "path": "whitespace-rs/examples/fib.ws", "equivalent": "fibonacci.ws", "spec_version": "0.2" },
{
"path": "whitespace-rs/examples/forever_a.ws",
"spec_version": "0.2",
"notes": "jmp has no terminating LF"
},
{ "path": "whitespace-rs/examples/hello.ws", "spec_version": "0.2" }
],
"commands": [
{
"type": "interpreter",
"bin": "whitespace-rs/target/release/whitespace-rs",
"usage": "<file>",
"options": [
{ "short": "h", "long": "help", "desc": "Prints help information" },
{ "short": "V", "long": "version", "desc": "Prints version information" }
],
"option_parse": "Rust clap"
}
]
}