-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
58 lines (58 loc) · 1.54 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
{
"id": "haskell/takatoh-hws",
"name": "hws",
"authors": ["takatoh"],
"license": "none",
"languages": ["Haskell"],
"tags": ["interpreter", "programs"],
"date": "2010-10-29 10:48:21 +0900",
"spec_version": "0.3",
"source": ["https://github.com/takatoh/hws"],
"submodules": [{ "path": "hws", "url": "https://github.com/takatoh/hws" }],
"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": "HeapWrite",
"retrieve": "HeapRead",
"label": "Label",
"call": "Call",
"jmp": "Jump",
"jz": "JumpZero",
"jn": "JumpNega",
"ret": "Return",
"end": "Exit",
"printc": "CharOut",
"printi": "NumOut",
"readc": "CharIn",
"readi": "NumIn"
},
"usage": ["enum"]
},
"programs": [{ "path": "hello.ws" }, { "path": "hi.ws" }, { "path": "sample.ws" }],
"commands": [
{
"type": "interpreter",
"bin": "hws",
"build": "make",
"build_errors": "Needs changes for latest Haskell",
"usage": "$0 <file>",
"options": [
{ "short": "i", "long": "instruction", "desc": "show instructions" },
{ "short": "v", "long": "version", "desc": "show version" },
{ "short": ["h", "?"], "long": "help", "desc": "show this message" }
],
"option_parse": "manual"
}
]
}