-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
110 lines (110 loc) · 3.47 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"id": "whitespace/lukepebody-advent-of-code",
"name": "AdventOfCode2022.ws",
"authors": ["Luke Pebody"],
"license": "none",
"languages": ["Whitespace", "Python"],
"tags": ["programs", "interpreter", "assembler"],
"date": "2022-12-14 01:31:07 +0000",
"spec_version": "0.3",
"source": ["https://github.com/LukePebody/AdventOfCode2022.ws"],
"submodules": [{ "path": "AdventOfCode2022.ws", "url": "https://github.com/LukePebody/AdventOfCode2022.ws" }],
"challenges": ["Advent of Code 2022"],
"whitespace": { "nonstandard": [{ "name": "SPLURGE", "desc": "Dump stack and memory" }], "extension": "ws" },
"assembly": {
"mnemonics": {
"push": "PUSH",
"dup": "DUP",
"copy": "GRAB",
"swap": "SWAP",
"drop": "DROP",
"add": "ADD",
"sub": "SUB",
"mul": "MUL",
"div": "DIV",
"mod": "MOD",
"store": "STORE",
"retrieve": "RETRIEVE",
"label": "LABEL",
"call": "GOSUB",
"jmp": "GOTO",
"jz": "GOTOIFZERO",
"jn": "GOTOIFNEG",
"ret": "RETURN",
"end": "END",
"printc": "PRINTC",
"printi": "PRINTN",
"readc": "READC",
"readi": "READN"
},
"line_comments": ["#"],
"usage": ["assembler", "programs"],
"extension": "wsc"
},
"programs": [
{
"path": "Uncompiled/2022/day1_1.wsc",
"generated": "Compiled/2022/day1_1.ws",
"inputs": ["Input/2022/day1.in", "Input/2022/day1_test.in"]
},
{
"path": "Uncompiled/2022/day1_2.wsc",
"generated": "Compiled/2022/day1_2.ws",
"inputs": ["Input/2022/day1.in", "Input/2022/day1_test.in"]
},
{
"path": "Uncompiled/2022/day2_1.wsc",
"generated": "Compiled/2022/day2_1.ws",
"inputs": ["Input/2022/day2.in", "Input/2022/day2_test.in"]
},
{
"path": "Uncompiled/2022/day2_2.wsc",
"generated": "Compiled/2022/day2_2.ws",
"inputs": ["Input/2022/day2.in", "Input/2022/day2_test.in"]
},
{
"path": "Uncompiled/2022/day3_1.wsc",
"generated": "Compiled/2022/day3_1.ws",
"inputs": ["Input/2022/day3.in", "Input/2022/day3_test.in"]
},
{
"path": "Uncompiled/2022/day3_2.wsc",
"generated": "Compiled/2022/day3_2.ws",
"inputs": ["Input/2022/day3.in", "Input/2022/day3_test.in"]
},
{
"path": "Uncompiled/2022/day4_1.wsc",
"generated": "Compiled/2022/day4_1.ws",
"inputs": ["Input/2022/day4.in", "Input/2022/day4_test.in"]
},
{
"path": "Uncompiled/2022/day4_2.wsc",
"generated": "Compiled/2022/day4_2.ws",
"inputs": ["Input/2022/day4.in", "Input/2022/day4_test.in"]
},
{
"path": "Uncompiled/2022/day5_1.wsc",
"generated": "Compiled/2022/day5_1.ws",
"inputs": ["Input/2022/day5.in", "Input/2022/day5_test.in"]
},
{
"path": "Uncompiled/2022/day5_2.wsc",
"generated": "Compiled/2022/day5_2.ws",
"inputs": ["Input/2022/day5.in", "Input/2022/day5_test.in"]
},
{ "path": "", "inputs": ["Input/2022/day6.in", "Input/2022/day6_test.in"] },
{
"path": "Uncompiled/2022/day14_1.wsc",
"generated": "Compiled/2022/day14_1.ws",
"inputs": ["Input/2022/day14.in", "Input/2022/day14_test.in"]
},
{
"path": "Uncompiled/2022/day14_2.wsc",
"generated": "Compiled/2022/day14_2.ws",
"inputs": ["Input/2022/day14.in", "Input/2022/day14_test.in"]
}
],
"commands": [
{ "type": "interpreter and assembler", "bin": "main.py", "notes": "Hardcoded input and output paths" }
]
}