forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
62 lines (62 loc) · 1.75 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
{
"id": "cpp/timvandermeij",
"name": "whitespace-interpreter",
"authors": ["Tim van der Meij", "Willem Obbens", "Simon Klaver"],
"license": "none",
"languages": ["C++"],
"tags": ["interpreter", "assembler", "disassembler", "mapping", "programs"],
"date": "2013-02-06 06:24:15 -0800",
"spec_version": "0.3",
"source": [
"https://github.com/wspace/timvandermeij-cpp",
"https://github.com/timvandermeij/whitespace-interpreter"
],
"bounds": { "precision": "fixed", "heap_min": 0 },
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["PUSH"],
"dup": ["DUP"],
"copy": ["COPY"],
"swap": ["SWAP"],
"drop": ["DISCARD"],
"slide": ["SLIDE"],
"add": ["ADD"],
"sub": ["SUB"],
"mul": ["MUL"],
"div": ["DIV"],
"mod": ["MOD"],
"store": ["STORE"],
"retrieve": ["RETRIEVE"],
"label": ["MARK"],
"call": ["CALL"],
"jmp": ["JUMP"],
"jz": ["JUMPZERO"],
"jn": ["JUMPNEG"],
"ret": ["ENDSUB"],
"end": ["ENDPROG"],
"printc": ["WRITEC"],
"printi": ["WRITEN"],
"readc": ["READC"],
"readi": ["READN"]
},
"case_sensitive_mnemonics": true,
"indentation": "",
"usage": ["assembler", "disassembler"]
},
"mappings": [{ "space": "S ", "tab": "T ", "lf": "LF\n", "spaces_between": false }],
"programs": [
{ "path": "hello_worldvanwiki.ws", "equivalent": "Hello, world! (Wikipedia)", "spec_version": "0.2" },
{ "path": "hello_world(fout).ws", "spec_version": "0.2" },
{ "path": "hello_world.ws(fout).txt" }
],
"commands": [
{
"type": "interpreter",
"bin": "whitespace",
"usage": "",
"input": "hello_worldvanwiki.ws",
"output": "stdout"
}
]
}