-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
61 lines (61 loc) · 1.9 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
{
"id": "haskell/ft-spaceman",
"name": "SpaceMan",
"authors": ["Frank Terbeck"],
"license": "BSD-2-Clause",
"languages": ["Haskell"],
"tags": ["interpreter"],
"date": "2020-07-09 22:05:36 +0200",
"spec_version": "0.3",
"source": [
"https://gitlab.com/ft/spaceman",
"https://github.com/ft/spaceman",
"http://bewatermyfriend.org/p/2020/000/",
"https://news.ycombinator.com/item?id=24763312"
],
"submodules": [{ "path": "spaceman", "url": "https://gitlab.com/ft/spaceman.git" }],
"assembly": {
"mnemonics": {
"push": "Push",
"dup": "Duplicate",
"copy": "Copy",
"swap": "Swap",
"drop": "Drop",
"slide": "Slide",
"add": "Add",
"sub": "Subtract",
"mul": "Multiply",
"div": "Divide",
"mod": "Modulo",
"store": "Store",
"retrieve": "Fetch",
"label": "Tag",
"call": "Call",
"jmp": "Jump",
"jz": "JumpIfZero",
"jn": "JumpIfNegative",
"ret": "Return",
"end": "ExitFromProgram",
"printc": "PrintCharacter",
"printi": "PrintNumber",
"readc": "ReadCharacter",
"readi": "ReadNumber"
},
"usage": ["enum"]
},
"commands": [
{
"build": "cabal build",
"usage": "cabal run spaceman -- [-d | --dump-ast] [-t | --transform-labels] [-h | --help] [-V | --version] [--numeric-version] <file>",
"options": [
{ "short": "d", "long": "dump-ast", "desc": "Dump Program AST instead of executing" },
{ "short": "t", "long": "transform-labels", "desc": "Transform Label Names to ASCII" },
{ "short": "h", "long": "help", "desc": "Display help message" },
{ "short": "V", "long": "version", "desc": "Print version information" },
{ "long": "numeric-version", "desc": "Print just the version number" }
],
"option_parse": "Haskell cmdargs"
}
],
"todo": "Figure out how to run without `cabal run`"
}