-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
75 lines (75 loc) · 2.24 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
67
68
69
70
71
72
73
74
75
{
"id": "crystal/collidedscope-spiceweight",
"name": "Spiceweight",
"authors": ["Collided Scope"],
"license": "Unlicense",
"languages": ["Crystal"],
"tags": ["interpreter", "benchmarking", "programs"],
"date": "2020-12-11 19:09:25 -0500",
"spec_version": "0.3",
"source": ["https://github.com/collidedscope/spiceweight"],
"submodules": [{ "path": "spiceweight", "url": "https://github.com/collidedscope/spiceweight" }],
"bounds": {
"precision": "arbitrary",
"arg_precision": "int64",
"label_precision": "int64",
"stack_cap": "unbounded",
"heap_min": "unbounded",
"heap_max": "unbounded",
"heap_cap": "unbounded",
"label_cap": "uint64",
"instruction_cap": "int32"
},
"whitespace": { "nonstandard": [{ "name": "shell", "seq": "TLL" }], "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "push",
"dup": "dup",
"copy": "copy",
"swap": "swap",
"drop": "pop",
"slide": "slide",
"add": "add",
"sub": "sub",
"mul": "mul",
"div": "div",
"mod": "mod",
"store": "store",
"retrieve": "load",
"label": "label",
"call": "call",
"jmp": "jump",
"jz": "jz",
"jn": "jn",
"ret": "ret",
"end": "exit",
"printc": "ochr",
"printi": "onum",
"readc": "ichr",
"readi": "inum"
},
"usage": ["enum"]
},
"programs": [{ "path": "spec/fixtures/brainfuck.ws" }, { "path": "spec/fixtures/whitespace.ws" }],
"commands": [
{
"type": "interpreter",
"bin": "spwt",
"usage": "[options] <file>",
"options": [
{
"short": "r",
"long": "report",
"desc": "Display stack, heap, and instruction count after executing"
},
{
"short": "b",
"long": "bench",
"desc": "Benchmark calls to labels whose names begin with 'bench'. Labels in Whitespace code are purely numerical, of course, so this relies on some other tool having previously generated a symbol table mapping label names to their corresponding numbers. The Spitewaste assembler is one such tool."
},
{ "short": "h", "long": "help", "desc": "Show this help" }
],
"option_parse": "Crystal option_parser"
}
]
}