-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
75 lines (75 loc) · 2.31 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": "ruby/wconrad",
"name": "whitespace-ruby",
"authors": ["Wayne E. Conrad"],
"license": "GPL-2.0-or-later",
"languages": ["Ruby"],
"tags": ["interpreter", "assembler", "disassembler", "programs"],
"date": "2003-04-02 05:28:47 +0000",
"spec_version": "0.3",
"source": [
"https://web.archive.org/web/20120417161917/http://yagni.com:80/whitespace/index.html",
"https://web.archive.org/web/20150717140342/http://compsoc.dur.ac.uk:80/whitespace/download.php",
"https://github.com/hostilefork/whitespacers/tree/master/ruby",
"https://github.com/wspace/wconrad-ruby",
"https://github.com/thaliaarchi/repo-archival/blob/main/scripts/wspace/wconrad-ruby.sh"
],
"submodules": [{ "path": "whitespace", "url": "https://github.com/wspace/wconrad-ruby" }],
"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": ["<number>:", "label"],
"call": "call",
"jmp": "jump",
"jz": "jz",
"jn": "jn",
"ret": "ret",
"end": "exit",
"printc": "outchar",
"printi": "outnum",
"readc": "readchar",
"readi": "readnum"
},
"line_comments": ["#"],
"indentation": " ",
"usage": ["assembler", "disassembler"],
"extension": "wsa"
},
"programs": [{ "path": "alphabet.wsa", "generated": "alphabet.ws", "spec_version": "0.3" }],
"commands": [
{
"type": "interpreter",
"bin": "whitespace",
"usage": "[<file>]",
"input": "<file> or stdin",
"output": "stdout"
},
{
"type": "assembler",
"bin": "whitespace-asm",
"usage": "[<file>...]",
"input": "<file>",
"output": "<file_no_suffix:.wsa>.ws",
"notes": "Assembles each given file. Skips unrecognized lines without error. Right pads mnemonics with spaces to 8 characters so arguments are at column 17."
},
{
"type": "disassembler",
"bin": "whitespace-disassem",
"usage": "[<file>...]",
"input": "<file> or stdin",
"output": "stdout",
"notes": "Disassembles each given file concatenated or stdin, but not both"
}
]
}