-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
73 lines (73 loc) · 2.21 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
{
"id": "python/bornlex",
"name": "Whitespace-interpreter",
"authors": ["Bornlex"],
"license": "MIT",
"languages": ["Python"],
"tags": ["interpreter", "programs"],
"date": "2017-08-09 20:44:04 +0100",
"spec_version": "0.3",
"source": ["https://github.com/Bornlex/Whitespace-interpreter"],
"submodules": [{ "path": "Whitespace-interpreter", "url": "https://github.com/Bornlex/Whitespace-interpreter" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "push",
"dup": "dup",
"copy": "copy",
"swap": "swap",
"drop": "pop",
"slide": "slide",
"add": "add",
"sub": "sub",
"mul": "mul",
"div": "div",
"mod": "mod",
"store": "store",
"retrieve": "retri",
"label": "label",
"call": "call",
"jmp": "jmp",
"jz": "jmpz",
"jn": "jmpneg",
"ret": "ret",
"end": "end",
"printc": "outc",
"printi": "outi",
"readc": "inc",
"readi": "ini"
},
"indentation": "",
"usage": ["enum", "programs"],
"extension": "wil"
},
"mappings": [{ "space": "S", "tab": "T", "lf": "L", "extension": "txt" }],
"programs": [
{ "path": "examples/WIL/dup.wil", "generated": "examples/WIL/dup.ws" },
{ "path": "examples/WIL/pop_add.wil", "generated": "examples/WIL/pop_add.ws", "spec_version": "0.2" },
{ "path": "examples/WIL/push_1.wil", "generated": "examples/WIL/push_1.ws", "spec_version": "0.2" },
{
"path": "examples/WIL/push_dup.wil",
"generated": "examples/WIL/push_dup.ws",
"spec_version": "0.2"
},
{
"path": "examples/WIL/set_label.wil",
"generated": "examples/WIL/set_label.ws",
"spec_version": "0.2"
},
{ "path": "examples/push_4.ws", "generated": "examples/push_4.txt" },
{ "path": "examples/wrong_chars_push_4.ws", "generated": "examples/wrong_chars_push_4.txt" },
{ "path": "tests/push_4.ws" },
{ "path": "tests/wrong_chars_push_4.ws" }
],
"commands": [
{
"type": "interpreter",
"bin": "main.py",
"usage": "<file>",
"notes": "Prints instructions before executing"
}
],
"todo": "Figure out how to use .wil files and whether there is an assembler"
}