-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
67 lines (67 loc) · 1.76 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
{
"id": "haskell/brainbush-tomato",
"name": "Tomato Programming Language",
"authors": ["brainbush"],
"license": "GPL-2.0-or-later",
"languages": ["Haskell"],
"tags": ["interpreter", "mapping"],
"date": "2015-02-26 20:31:40 +0800",
"spec_version": "0.3",
"source": ["https://github.com/brainbush/Tomato-Programming-Language"],
"submodules": [
{
"path": "Tomato-Programming-Language",
"url": "https://github.com/brainbush/Tomato-Programming-Language"
}
],
"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"]
},
"mappings": [{ "space": "番", "tab": "茄", "lf": "干" }],
"programs": [
{ "path": "docs/tutorial.html", "polyglot": ["HTML"] },
{ "path": "examples/calc.ws" },
{ "path": "examples/count.ws" },
{ "path": "examples/fact.ws" },
{ "path": "examples/hanoi.ws" },
{ "path": "examples/hworld.ws" },
{ "path": "examples/loctest.ws" },
{ "path": "examples/name.ws" }
],
"commands": [
{
"type": "interpreter",
"bin": "wspace",
"build": "make",
"build_errors": "Needs changes for latest Haskell",
"usage": "$0 <file>"
}
]
}