-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
64 lines (64 loc) · 1.76 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
{
"id": "csharp/meeees",
"name": "Whitespace Assembler and Runner",
"authors": ["Michael Barre"],
"license": "none",
"languages": ["C#"],
"tags": ["interpreter", "disassembler", "programs"],
"date": "2019-05-24 17:22:01 -0500",
"spec_version": "0.2",
"source": ["https://github.com/meeees/Whitespace", "https://github.com/wspace/meeees-csharp"],
"submodules": [{ "path": "Whitespace", "url": "https://github.com/wspace/meeees-csharp" }],
"bounds": { "precision": "int32" },
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "Push",
"copy": "Copy",
"swap": "Swap",
"drop": "Pop",
"add": "Add",
"sub": "Sub",
"mul": "Mult",
"div": "Div",
"mod": "Mod",
"store": "St",
"retrieve": "Ld",
"label": "Label",
"call": "Call",
"jmp": "Jump",
"jz": "Jz",
"jn": "Jn",
"ret": "Ret",
"end": "End",
"printc": "OutC",
"printi": "OutN",
"readc": "ReadC",
"readi": "ReadN"
},
"indentation": "",
"usage": ["disassembler", "programs"],
"extension": "asm"
},
"programs": [
{
"path": "tests/fib_test.asm",
"generated": "tests/fib_test.ws",
"equivalent": "tests/fibonacci.ws",
"spec_version": "0.2"
},
{ "path": "tests/hello_world.asm", "generated": "tests/hello_world.ws", "spec_version": "0.2" }
],
"commands": [
{
"type": "interpreter",
"bin": "bin/Release/Whitespace.exe",
"usage": "[subcommand]",
"input": "<file>",
"subcommands": [
{ "name": "run", "usage": "run <file>", "notes": "Interprets assembled program" },
{ "name": "asm", "usage": "asm <file> <output_file>", "notes": "Disassembles program" }
]
}
]
}