forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
53 lines (53 loc) · 1.22 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
{
"id": "php/igorw-wsm",
"name": "wsm",
"authors": ["Igor Wiedler"],
"license": "none",
"languages": ["PHP"],
"tags": ["assembler", "programs"],
"date": "2014-09-27 22:24:38 +0200",
"spec_version": "0.2",
"source": ["https://github.com/igorw/wsm"],
"assembly": {
"mnemonics": {
"push": ["push"],
"dup": ["dup"],
"copy": ["ref"],
"swap": ["swap"],
"drop": ["discard"],
"slide": ["slide"],
"add": ["add"],
"sub": ["sub"],
"mul": ["mul"],
"div": ["div"],
"mod": ["mod"],
"store": ["store"],
"retrieve": ["retrieve"],
"label": ["label"],
"call": ["call"],
"jmp": ["jump"],
"jz": ["jumpz"],
"jn": ["jumplz"],
"ret": ["ret"],
"end": ["exit"],
"printc": ["write_char"],
"printi": ["write_num"],
"readc": ["read_char"],
"readi": ["read_num"]
},
"line_comments": ["#"],
"indentation": "",
"usage": ["assembler", "programs"],
"extension": "wsm"
},
"programs": [{ "path": "examples/hworld.wsm" }],
"commands": [
{
"type": "assembler",
"bin": "bin/wsm",
"usage": "php $0 <file>",
"input": "<file>",
"output": "stdout"
}
]
}