-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
79 lines (79 loc) · 2.53 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
76
77
78
79
{
"id": "go/zorchenhimer",
"name": "whitespace",
"authors": ["Zorchenhimer"],
"license": "MIT",
"languages": ["Go"],
"tags": ["interpreter", "assembler", "disassembler", "programs"],
"date": "2022-08-26 21:48:16 -0400",
"spec_version": "0.3",
"source": ["https://github.com/zorchenhimer/whitespace"],
"submodules": [{ "path": "whitespace", "url": "https://github.com/zorchenhimer/whitespace" }],
"whitespace": { "extension": "wsp" },
"assembly": {
"mnemonics": {
"push": "push",
"dup": "duplicate",
"copy": "copy",
"swap": "swap",
"drop": "discard",
"slide": "slide",
"add": "add",
"sub": "subtract",
"mul": "multiply",
"div": "divide",
"mod": "modulo",
"store": "store",
"retrieve": "load",
"label": "label",
"call": "call",
"jmp": "jump",
"jz": "jumpzero",
"jn": "jumpminus",
"ret": "return",
"end": "stop",
"printc": "printchar",
"printi": "printnumber",
"readc": "readchar",
"readi": "readnumber"
},
"case_sensitive_mnemonics": false,
"line_comments": ["#"],
"indentation": "",
"usage": ["enum", "programs"],
"extension": "wsa"
},
"mappings": [{ "space": "S", "tab": "T", "lf": "L", "before_stl": true, "extension": "wsp" }],
"programs": [
{ "path": "code-examples/hello-world.wsa", "generated": "code-examples/hello-world.wsp" },
{ "path": "code-examples/numbers.wsa", "generated": "code-examples/numbers.wsp" },
{ "path": "code-examples/simple.wsa", "generated": "code-examples/simple.wsp" }
],
"commands": [
{
"type": "assembler",
"bin": "bin/wt",
"usage": "[--help | -h] [--to-asm | -a] [--to-wsp | -w] [<input> [<output>]]",
"input": "<input> or stdin",
"output": "<output> or stdout",
"options": [
{ "short": "a", "long": "to-asm", "desc": "Translate to assembly" },
{ "short": "w", "long": "to-wsp", "desc": "Translate to whitespace" },
{ "short": "h", "long": "help", "desc": "display this help and exit" }
],
"option_parse": "Go github.com/alexflint/go-arg"
},
{
"type": "interpreter",
"bin": "bin/wi",
"usage": "[--help | -h] [--debug | -d] [<input> [<output>]]",
"input": "<input> or stdin",
"output": "<output> or stdout",
"options": [
{ "short": "d", "long": "debug" },
{ "short": "h", "long": "help", "desc": "display this help and exit" }
],
"option_parse": "Go github.com/alexflint/go-arg"
}
]
}