forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
50 lines (50 loc) · 1.27 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
{
"id": "php/nobody1986",
"name": "whitespace-php",
"authors": ["nobody1986"],
"license": "none",
"languages": ["PHP", "C"],
"tags": ["interpreter", "disassembler", "programs"],
"date": "2015-02-04 17:15:42 +0800",
"spec_version": "0.3",
"source": ["https://github.com/nobody1986/whitespace-php"],
"assembly": {
"mnemonics": {
"push": ["PUSH"],
"dup": ["COPY"],
"copy": ["COPYN"],
"swap": ["EXCHANGE"],
"drop": ["DROP"],
"slide": ["SLIDEOFF"],
"add": ["ADD"],
"sub": ["SUB"],
"mul": ["MUL"],
"div": ["DIV"],
"mod": ["MOD"],
"store": ["STORE"],
"retrieve": ["READ"],
"label": ["MARK"],
"call": ["CALL"],
"jmp": ["JUMP"],
"jz": ["JUMPNULL"],
"jn": ["JUMPDE"],
"ret": ["ENDFUNC"],
"end": ["ENDLE"],
"printc": ["OUTCHAR"],
"printi": ["OUTNUM"],
"readc": ["INCHAR"],
"readi": ["INNUM"]
},
"indentation": "",
"usage": ["disassembler"]
},
"commands": [
{
"type": "interpreter",
"bin": "whitespace.php",
"usage": "php $0 <file>",
"notes": "`compile2File` function, if uncommented, can disassemble to file"
},
{ "type": "interpreter", "bin": "whitespace", "usage": "$0 <file>" }
]
}