-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
55 lines (55 loc) · 1.42 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
{
"id": "kotlin/ze-space",
"name": "space",
"authors": ["Zakaria Elkatani"],
"license": "none",
"languages": ["Kotlin"],
"tags": ["interpreter", "disassembler", "generator", "programs"],
"date": "2018-04-21 21:02:23 -0400",
"spec_version": "0.2",
"source": ["https://github.com/ze/space"],
"submodules": [{ "path": "space", "url": "https://github.com/ze/space" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "push",
"dup": "dup",
"swap": "swap",
"drop": "discard",
"add": "add",
"sub": "sub",
"mul": "mul",
"div": "div",
"mod": "mod",
"store": "store",
"retrieve": "retrieve",
"label": "label <label>:",
"call": "call",
"jmp": "jump",
"jz": "jumpzero",
"jn": "jumpneg",
"ret": "return",
"end": "end",
"printc": "printchar",
"printi": "printnum",
"readc": "readchar",
"readi": "readnum"
},
"indentation": "\t",
"usage": ["disassembler"]
},
"programs": [
{ "path": "src/test/resources/hworld.ws", "spec_version": "0.2" },
{ "path": "src/test/resources/numbers.ws", "spec_version": "0.2" }
],
"commands": [
{
"type": "interpreter",
"bin": "build/libs/space.jar",
"usage": "<file>",
"input": "<file>",
"output": "stdout"
}
],
"notes": "Disassembler and program generator do not have an entry point"
}