forked from wspace/corpus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
59 lines (59 loc) · 1.63 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
59
{
"id": "java/praveenvaka-coder",
"name": "whitespace-coder",
"authors": ["Praveen Reddy Vaka"],
"license": "none",
"languages": ["Java"],
"tags": ["program builder", "programs"],
"date": "2014-03-07 05:39:21 -0800",
"spec_version": "0.2",
"source": ["https://github.com/praveenvaka/whitespace-coder"],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": ["push"],
"dup": ["duplicate"],
"swap": ["swap"],
"drop": ["pop"],
"add": ["add"],
"sub": ["subtract"],
"mul": ["multiply"],
"div": ["divide"],
"mod": ["modulo"],
"store": ["addToHeap"],
"retrieve": ["getFromHeap"],
"label": ["addLabel"],
"call": ["callSubRoutine"],
"jmp": ["GoTo"],
"jz": ["if0goto"],
"jn": ["ifIsNegativeGoTo"],
"ret": ["endSubRoutine"],
"end": ["end"],
"printc": ["printAsChar"],
"printi": ["printAsInt"],
"readc": ["readChar"],
"readi": ["readInt"]
},
"usage": ["program builder"]
},
"programs": [
{
"path": "src/main/java/Factorial.java",
"generated": "factorial.ws",
"spec_version": "0.2",
"generate": "java -cp target/whitespace-coder-1.0-SNAPSHOT.jar Factorial"
},
{
"path": "src/main/java/FCTRIZE.java",
"generated": "factorize.ws",
"spec_version": "0.2",
"generate": "java -cp target/whitespace-coder-1.0-SNAPSHOT.jar FCTRIZE"
},
{
"path": "src/main/java/HelloWorld.java",
"generated": "hello.ws",
"spec_version": "0.2",
"generate": "java -cp target/whitespace-coder-1.0-SNAPSHOT.jar HelloWorld"
}
]
}