Basic structure; day 1, 2

This commit is contained in:
bluepython508
2024-12-03 10:34:33 +00:00
commit b24b64a22c
12 changed files with 2164 additions and 0 deletions

11
Lib.rakumod Normal file
View File

@@ -0,0 +1,11 @@
role AOC {
method part1(::?CLASS:U: $v) { ... }
method part2(::?CLASS:U: $v) { ... }
method main(::?CLASS:U:) {
my \parsed = self.parse(slurp(@*ARGS[0])).made;
say self.part1(parsed);
say self.part2(parsed);
}
}