-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.json
48 lines (48 loc) · 1.62 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
{
"id": "erlang/derek121-mrwhite",
"name": "Mr. White",
"authors": ["Derek Brown"],
"license": "BSD-3-Clause",
"languages": ["Erlang"],
"tags": ["interpreter", "assembler", "disassembler", "programs"],
"date": "2017-03-23 09:48:51 -0700",
"spec_version": "0.3",
"source": ["https://github.com/derek121/mrwhite"],
"submodules": [{ "path": "mrwhite", "url": "https://github.com/derek121/mrwhite" }],
"whitespace": { "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "stack push <number>",
"dup": "stack duplicate",
"copy": "stack copy <number>",
"swap": "stack swap",
"drop": "stack discard",
"slide": "stack slide <number>",
"add": "arith add",
"sub": "arith sub",
"mul": "arith mul",
"div": "arith divide",
"mod": "arith mod",
"store": "heap store",
"retrieve": "heap retrieve",
"label": "flow mark <label>",
"call": "flow call <label>",
"jmp": "flow jump <label>",
"jz": "flow jump_zero <label>",
"jn": "flow jump_negative <label>",
"ret": "flow end_sub",
"end": "flow end_program",
"printc": "io output_char",
"printi": "io output_num",
"readc": "io read_char",
"readi": "io read_num"
},
"patterns": { "ignore:whitespace": "[\\s\\r\\n\\t]", "label": "[st]+", "number": "[0-9]+" },
"extension": "wst"
},
"programs": [
{ "path": "priv/sample/canonical.wst", "generated": "priv/sample/canonical.ws" },
{ "path": "priv/sample/sample.wst", "generated": "priv/sample/sample.ws" }
],
"commands": [{ "type": "interpreter, assembler, and disassembler" }]
}