-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
54 lines (54 loc) · 1.45 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
{
"id": "php/igorw",
"name": "whitespace-php",
"authors": ["Igor Wiedler"],
"license": "MIT",
"languages": ["PHP"],
"tags": ["interpreter"],
"date": "2014-06-10 00:59:21 +0200",
"spec_version": "0.3",
"source": ["https://github.com/igorw/whitespace-php"],
"submodules": [{ "path": "whitespace-php", "url": "https://github.com/igorw/whitespace-php" }],
"whitespace": { "extension": "ws" },
"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"
},
"usage": ["enum"]
},
"programs": [
{ "path": "examples/calc.ws" },
{ "path": "examples/count.php" },
{ "path": "examples/fact.ws" },
{ "path": "examples/fibonacci.ws" },
{ "path": "examples/hanoi.ws" },
{ "path": "examples/hworld.ws" },
{ "path": "examples/name.ws" },
{ "path": "examples/quine.ws" },
{ "path": "examples/wsinterws.ws" }
],
"commands": [{ "type": "interpreter", "bin": "bin/interpreter", "usage": "php $0 <file>" }]
}