forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
68 lines (68 loc) · 2.16 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
{
"id": "go/qeedquan",
"name": "misc_utilities",
"authors": ["Quan Tran"],
"license": "MIT",
"languages": ["Go"],
"tags": ["interpreter", "disassembler", "programs"],
"date": "2021-11-10 21:20:39 -0600",
"spec_version": "0.2",
"source": [
"https://github.com/wspace/qeedquan-go",
"https://github.com/qeedquan/misc_utilities/tree/master/esolang/whitespace",
"https://github.com/thaliaarchi/repo-archival/blob/main/scripts/wspace/qeedquan-go.sh"
],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["push"],
"dup": ["dup"],
"swap": ["swap"],
"drop": ["discard"],
"add": ["add"],
"sub": ["sub"],
"mul": ["mul"],
"div": ["div"],
"mod": ["mod"],
"store": ["store"],
"retrieve": ["retrieve"],
"label": ["label_<number>:"],
"call": ["call"],
"jmp": ["jmp"],
"jz": ["jz"],
"jn": ["jn"],
"ret": ["ret"],
"end": ["hlt"],
"printc": ["outc"],
"printi": ["outn"],
"readc": ["inc"],
"readi": ["inn"]
},
"indentation": "\t",
"usage": ["disassembler"]
},
"programs": [
{ "path": "count.ws", "equivalent": "count.ws", "spec_version": "0.2" },
{ "path": "fib.ws", "equivalent": "fibonacci.ws", "spec_version": "0.2" },
{ "path": "hanoi.ws", "equivalent": "hanoi.ws", "spec_version": "0.2" },
{ "path": "hello-1.ws", "equivalent": "hworld.ws", "spec_version": "0.2" },
{ "path": "hello-2.ws", "spec_version": "0.2" },
{ "path": "neg.ws" },
{ "path": "nerd.ws", "spec_version": "0.2" },
{ "path": "quine.ws", "equivalent": "quine.ws", "spec_version": "0.2" }
],
"commands": [
{
"bin": "whitespace",
"usage": "[-d] [-t] <file>",
"options": [
{ "short": "d", "long": "d", "desc": "show disassembly" },
{ "short": "t", "long": "t", "desc": "trace program" },
{ "short": "h", "long": "h" },
{ "short": "help", "long": "help" }
],
"option_parse": "Go flag"
}
],
"notes": "Disassembly includes the argument as a Unicode codepoint. Disassembled labels show the sequential label definition index, not the label value."
}