forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
58 lines (58 loc) · 1.66 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": "perl/ephphatha-wsm2ws",
"name": "wsm2ws",
"authors": ["Andrew James"],
"license": "MIT",
"languages": ["Perl"],
"tags": ["assembler", "programs"],
"date": "2017-05-28 19:40:26 +1000",
"spec_version": "0.3",
"source": ["https://github.com/ephphatha/wsm2ws"],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["push"],
"dup": ["dup"],
"copy": ["copy"],
"swap": ["swap", "swa"],
"drop": ["pop"],
"slide": ["slide"],
"add": ["add"],
"sub": ["sub"],
"mul": ["mul"],
"div": ["div"],
"mod": ["mod", "rem"],
"store": ["store", "stor"],
"retrieve": ["retrieve", "retr"],
"label": ["<label>:", "label"],
"call": ["call"],
"jmp": ["jmp", "jump", "goto"],
"jz": ["jez", "jz"],
"jn": ["jlz", "jn"],
"ret": ["ret"],
"end": ["end", "exit"],
"printc": ["ochar", "putchar"],
"printi": ["onum", "putnum"],
"readc": ["ichar", "getchar"],
"readi": ["inum", "getnum"]
},
"instruction_delimiter": "space",
"line_comments": [";"],
"indentation": "",
"usage": ["assembler", "programs"],
"extension": "wsm"
},
"mappings": [{ "space": "s", "tab": "t", "lf": "n" }],
"programs": [
{
"path": "examples/cyclic_rshift.wsm",
"generated": "examples/cyclic_rshift.ws",
"spec_version": "0.2"
},
{ "path": "examples/reverse.wsm", "generated": "examples/reverse.ws", "spec_version": "0.2" }
],
"commands": [
{ "type": "assembler", "bin": "wsm2ws.pl", "usage": "<file>", "output": "<file_no_suffix:.wsm>.ws" }
],
"notes": "Has optional assembly arguments"
}