-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathproject.json
More file actions
75 lines (75 loc) · 2.37 KB
/
Copy pathproject.json
File metadata and controls
75 lines (75 loc) · 2.37 KB
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": "python/kraterkraken",
"name": "Whitespace",
"authors": ["kraterkraken"],
"license": "GPL-3.0",
"languages": ["Python"],
"tags": ["interpreter", "assembler", "disassembler", "debugger", "programs"],
"date": "2022-01-23 09:26:43 -0500",
"spec_version": "0.3",
"source": ["https://github.com/kraterkraken/Whitespace"],
"submodules": [{ "path": "Whitespace", "url": "https://github.com/kraterkraken/Whitespace" }],
"whitespace": { "extension": "ws" },
"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": "RETRIEVE",
"label": "MARK",
"call": "CALL",
"jmp": "JUMP",
"jz": "JUMPZERO",
"jn": "JUMPNEG",
"ret": "RETURN",
"end": "ENDPROGRAM",
"printc": "OUTCH",
"printi": "OUTNUM",
"readc": "INCH",
"readi": "INNUM"
},
"case_sensitive_mnemonics": true,
"indentation": "",
"usage": ["assembler", "disassembler", "debugger"]
},
"programs": [
{ "path": "cat.ws", "spec_version": "0.2" },
{ "path": "count10.ws", "equivalent": "count.ws", "spec_version": "0.2" },
{ "path": "greet.ws", "spec_version": "0.2" },
{ "path": "hworld.ws", "equivalent": "Hello, world! (Wikipedia)", "spec_version": "0.2" },
{ "path": "truth.ws", "spec_version": "0.2" },
{ "path": "whitespace.py", "notes": "test_code string" }
],
"commands": [
{
"type": "interpreter",
"bin": "whitespace.py",
"usage": "([--debug | --describe] (<file> | --test) | --help)",
"input": "<file> or stdin if -",
"options": [
{ "long": "test", "desc": "Runs unit tests (overrides filename)" },
{ "long": "debug", "desc": "Turns on verbose debugging" },
{ "long": "describe", "desc": "Describes the given Whitespace code. Does not execute the program." },
{ "long": "help", "desc": "Prints this help info" }
],
"option_parse": "manual"
},
{
"type": "assembler",
"bin": "mkws.py",
"usage": "<file>",
"input": "<file> or stdin if -",
"options": [{ "long": "help", "desc": "Prints this help info" }],
"option_parse": "manual"
}
]
}