-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
132 lines (132 loc) · 3.75 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"id": "haskell/edwinb-wspace-0.3",
"name": "wspace 0.3",
"authors": ["Edwin Brady"],
"license": "GPL-2.0-or-later",
"languages": ["Haskell"],
"tags": ["interpreter", "programs"],
"date": "2004-05-04 16:34:32 +0000",
"spec_version": "0.3",
"source": [
"https://web.archive.org/web/20150717140342/http://compsoc.dur.ac.uk:80/whitespace/download.php",
"https://web.archive.org/web/20040617010431/http://compsoc.dur.ac.uk:80/whitespace/downloads/wspace-0.3.tgz",
"https://web.archive.org/web/20060517072734/http://compsoc.dur.ac.uk:80/archives/whitespace/2004-May/000047.html"
],
"relations": [{ "id": "emacs/lmitchell", "type": "embedded" }],
"bounds": { "precision": "arbitrary" },
"behavior": { "eof": "error" },
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "Push",
"dup": "Dup",
"copy": "Ref",
"swap": "Swap",
"drop": "Discard",
"slide": "Slide",
"add": "Infix Plus",
"sub": "Infix Minus",
"mul": "Infix Times",
"div": "Infix Divide",
"mod": "Infix Modulo",
"store": "Store",
"retrieve": "Retrieve",
"label": "Label",
"call": "Call",
"jmp": "Jump",
"jz": "If Zero",
"jn": "If Negative",
"ret": "Return",
"end": "End",
"printc": "OutputChar",
"printi": "OutputNum",
"readc": "ReadChar",
"readi": "ReadNum"
},
"usage": ["enum"]
},
"programs": [
{
"path": "examples/hworld.ws",
"aux": ["compsoc.dur.ac.uk/whitespace/hworld.ws"],
"spec_version": "0.2",
"desc": "Hello, World!"
},
{
"path": "examples/name.ws",
"aux": ["compsoc.dur.ac.uk/whitespace/name.ws"],
"spec_version": "0.2",
"desc": "Hello, user!"
},
{
"path": "examples/calc.ws",
"aux": ["compsoc.dur.ac.uk/whitespace/calc.ws"],
"spec_version": "0.2",
"desc": "Calculator"
},
{
"path": "examples/fact.ws",
"aux": ["compsoc.dur.ac.uk/whitespace/fact.ws"],
"spec_version": "0.2",
"desc": "Factorial"
},
{
"path": "examples/hanoi.ws",
"aux": ["compsoc.dur.ac.uk/whitespace/hanoi.ws"],
"spec_version": "0.2",
"desc": "Towers of Hanoi",
"notes": "The CompSoc version is the same, except for including a header comment"
},
{
"path": "compsoc.dur.ac.uk/whitespace/fibonacci.ws",
"spec_version": "0.2",
"authors": ["Chris Morris"],
"desc": "Fibonacci"
},
{
"path": "docs/tutorial.html",
"aux": ["compsoc.dur.ac.uk/whitespace/tutorial.html"],
"polyglot": ["HTML"],
"spec_version": "0.2",
"desc": "[Fact|Tut]orial"
},
{
"path": "examples/count.ws",
"aux": [
"docs/tutorial.html",
"compsoc.dur.ac.uk/whitespace/count.ws",
"compsoc.dur.ac.uk/whitespace/tutorial.html",
"compsoc.dur.ac.uk/whitespace/tutorial.php"
],
"spec_version": "0.2",
"notes": "count.ws described in the tutorial"
},
{ "path": "examples/loctest.ws", "spec_version": "0.3" },
{
"path": "compsoc.dur.ac.uk/whitespace/whitespace.ws.c",
"polyglot": ["C"],
"spec_version": "0.2",
"authors": ["Jeremy James"]
},
{
"path": "compsoc.dur.ac.uk/whitespace/rot13.ws",
"spec_version": "0.2",
"authors": ["Chris Morris"]
},
{
"path": "compsoc.dur.ac.uk/whitespace/quine.ws",
"spec_version": "0.2",
"authors": ["Benjamin Lerman"]
},
{
"path": "compsoc.dur.ac.uk/whitespace/quine-2.ws",
"spec_version": "0.2",
"authors": ["Benjamin Lerman"]
},
{
"path": "compsoc.dur.ac.uk/whitespace/quine-copy.ws",
"spec_version": "0.2",
"authors": ["Benjamin Lerman"]
}
]
}