-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
48 lines (48 loc) · 1.34 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
{
"id": "javascript/kanra1412",
"name": "whitespace-interpreter",
"authors": ["kanra1412"],
"license": "none",
"languages": ["JavaScript"],
"tags": ["interpreter"],
"date": "2016-04-29 21:05:24 +0800",
"spec_version": "0.3",
"source": ["https://github.com/kanra1412/whitespace-interpreter"],
"submodules": [{ "path": "whitespace-interpreter", "url": "https://github.com/kanra1412/whitespace-interpreter" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "push",
"dup": "copy_top",
"copy": "copy",
"swap": "change",
"drop": "rm_top",
"slide": "remove",
"add": "add",
"sub": "minus",
"mul": "multi",
"div": "divide",
"mod": "mod",
"store": "save",
"retrieve": "load",
"label": "def",
"call": "call",
"jmp": "jump",
"jz": "jump_zero",
"jn": "jump_nagative",
"ret": "ret",
"end": "end",
"printc": "output_char",
"printi": "output_num",
"readc": "input_char",
"readi": "input_num"
},
"usage": ["enum"]
},
"programs": [
{ "path": "test/count.ws" },
{ "path": "test/helloworld.ws" },
{ "path": "test/http _compsoc.dur.ac.uk_whitespace_count.ws" }
],
"commands": [{ "bin": "whitespace.js", "input": "test/http _compsoc.dur.ac.uk_whitespace_count.ws" }]
}