forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
56 lines (56 loc) · 1.6 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
{
"id": "java/abhijitsharma",
"name": "whitespace",
"authors": ["Abhijit Sharma"],
"license": "none",
"languages": ["Java"],
"tags": ["interpreter", "disassembler", "mapping", "programs"],
"date": "2013-04-05 10:21:09 -0700",
"spec_version": "0.2",
"source": ["https://github.com/abhijitsharma/whitespace"],
"whitespace": {
"unimplemented": [
"dup",
"swap",
"drop",
"mod",
"store",
"retrieve",
"label",
"call",
"jmp",
"jz",
"jn",
"ret",
"end",
"printc",
"readc",
"readi"
],
"extension": "ws"
},
"assembly": {
"mnemonics": {
"push": ["STACK.PUSH"],
"add": ["MATH.+"],
"sub": ["MATH.-"],
"mul": ["MATH.*"],
"div": ["MATH./"],
"printi": ["IO.OUT"]
},
"usage": ["disassembler"]
},
"mappings": [{ "space": "S", "tab": "T", "lf": "L" }],
"programs": [
{ "path": "docs/addOneTwo.txt" },
{ "path": "docs/calc.ws", "equivalent": "calc.ws", "spec_version": "0.2" },
{ "path": "docs/count.ws", "equivalent": "count.ws", "spec_version": "0.2" },
{ "path": "docs/fact.ws", "equivalent": "fact.ws", "spec_version": "0.2" },
{ "path": "docs/fibonacci.ws", "equivalent": "fibonacci.ws", "spec_version": "0.2" },
{ "path": "docs/hanoi.ws", "equivalent": "hanoi.ws", "spec_version": "0.2" },
{ "path": "docs/hworld.ws", "equivalent": "hworld.ws", "spec_version": "0.2" },
{ "path": "docs/try.ws" },
{ "path": "docs/try1.ws" }
],
"commands": [{ "type": "interpreter", "bin": "target/whitespace-1.0.jar", "usage": "-f <file>" }]
}