-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
52 lines (52 loc) · 1.32 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
{
"id": "haskell/jhmcstanton-marginal",
"name": "Marginal",
"authors": ["Jim McStanton"],
"license": "BSD-3-Clause",
"languages": ["Haskell", "Yacc"],
"tags": ["interpreter", "programs"],
"date": "2019-06-28 20:19:29 -0500",
"spec_version": "0.2",
"source": ["https://github.com/jhmcstanton/marginal"],
"submodules": [{ "path": "marginal", "url": "https://github.com/jhmcstanton/marginal" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "Push",
"dup": "Dup",
"swap": "Swap",
"drop": "Drop",
"add": "Add",
"sub": "Sub",
"mul": "Mult",
"div": "Div",
"mod": "Mod",
"store": "Store",
"retrieve": "Retrieve",
"label": "Mark",
"call": "Func",
"jmp": "Jump",
"jz": "JumpZero",
"jn": "JumpNeg",
"ret": "Return",
"end": "Exit",
"printc": "PrintChar",
"printi": "PrintNum",
"readc": "ReadChar",
"readi": "ReadNum"
},
"usage": ["enum"]
},
"programs": [
{ "path": "examples/collatz.ws" },
{ "path": "examples/hello_world_loop.ws" },
{ "path": "examples/hello_world_simple.ws" }
],
"commands": [
{
"install_dependencies": "stack setup",
"build": "stack build",
"build_errors": "`stack setup` fails with link error"
}
]
}