forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
63 lines (63 loc) · 1.68 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
{
"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/wspace/meeees-csharp", "https://github.com/meeees/Whitespace"],
"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": "fib_test.asm",
"generated": "fib_test.ws",
"equivalent": "fibonacci.ws",
"spec_version": "0.2"
},
{ "path": "hello_world.asm", "generated": "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" }
]
}
]
}