-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
68 lines (68 loc) · 2.44 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
{
"id": "whitespace/burghard-wsinterws",
"name": "wsinterws",
"authors": ["Oliver Burghard"],
"license": "GPL",
"languages": ["Whitespace"],
"tags": ["interpreter", "programs"],
"date": "2003-04-24 18:52:12 +0000",
"spec_version": "0.2",
"source": [
"https://web.archive.org/web/20030608024503/http://www.burghard.info:80/code/whitespace/wsinterws/index.html",
"https://web.archive.org/web/20150803032955/http://www.burghard.info/Code/Whitespace/wsinterws.zip",
"https://web.archive.org/web/20110911114338/http://www.burghard.info/Code/Whitespace/",
"https://web.archive.org/web/20150717140342/http://compsoc.dur.ac.uk:80/whitespace/download.php",
"https://github.com/wspace/burghard-wsinterws",
"https://github.com/thaliaarchi/repo-archival/blob/main/scripts/wspace/burghard.sh"
],
"submodules": [{ "path": "wsinterws", "url": "https://github.com/wspace/burghard-wsinterws" }],
"relations": [{ "id": "haskell/burghard-wsa", "type": "assembly" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "push <number>",
"dup": "doub",
"swap": "swap",
"drop": "pop",
"add": ["add", "add <number>"],
"sub": ["sub", "sub <number>"],
"mul": "mul",
"div": "div",
"mod": "mod",
"store": ["store", "store <addr>"],
"retrieve": ["retrive", "retrive <addr>"],
"label": "label",
"call": "call",
"jmp": "jump",
"jz": "jumpz",
"jn": "jumpn",
"ret": "ret",
"end": "exit",
"printc": "outc",
"printi": "outN",
"readc": "inC",
"readi": "inn",
"dumpstack": "debug_printstack",
"dumpheap": "debug_printheap"
},
"macros": [
{ "name": "test", "args": ["int"] },
{ "name": "pushs", "args": ["string"] },
{ "name": "include", "args": ["ident"] },
{ "name": "ifoption", "args": ["label"] },
{ "name": "endoption" },
{ "name": "jumpnz", "args": ["label"] },
{ "name": "jumpp", "args": ["label"] },
{ "name": "jumppz", "args": ["label"] }
],
"patterns": { "label": "[a-zA-Z0-9_]+" },
"case_sensitive_mnemonics": false,
"line_comments": [";", "--"],
"block_comments": [{ "start": "{-", "end": "-}", "nestable": true }],
"indentation": " ",
"block_indentation": true,
"usage": ["programs"],
"extension": "wsa"
},
"programs": [{ "path": "wsinterws.wsa", "generated": "wsinterws.ws", "aux": ["run.txt"] }]
}