AdventOfCode

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

70 check-ins using file 2021/lib/advoc.ml or 2021/lib/parsers.ml version aee59a86a4

2023-12-30
19:37
fixup other swiftlint warnings and errors Leaf check-in: 98ac2acbca user: JoshAshby tags: 2022
19:13
couple more utility parsers to interact with the user state and position in strings check-in: de94eb1caa user: JoshAshby tags: 2022
18:50
adjust tests and utils things to make this a little nicer looking and to work with check-in: 7ca8cfed62 user: JoshAshby tags: 2022
18:23
Experimenting with using an "input state" like parsec which alls the parsers to keep and track internal data; also try out using a protocol for the "stream" input so that the parsers are a bit more reusable so long as the protocol is implemented for a given type, such as Substring or ArraySlice check-in: a6f049edf6 user: JoshAshby tags: 2022
2023-12-23
03:36
playing around and making minor changes while learning more about how to best structure the parsers for specific input types like strings and arrays check-in: cdf392ee8a user: JoshAshby tags: 2022
2023-12-21
07:09
SwiftLint work and playing with DocC too check-in: 21353f302a user: JoshAshby tags: 2022
2023-12-20
05:07
more parsers from F# for fun and profit check-in: 1591f3a59f user: JoshAshby tags: 2022
2023-12-19
04:56
working through some more parser combinators to get back into the flow of the code after getting back from holiday check-in: 575a572b41 user: JoshAshby tags: 2022
2023-12-06
17:49
cleaning up some of the core check-in: be4fa1ef4f user: JoshAshby tags: 2022
17:32
reorg parsers into the start of generic high level constructs, string specific and general array specific. Need to figure out how to start working against a token stream with these so I can easily throw together small parsers for day problems check-in: d8f4c07a72 user: JoshAshby tags: 2022
17:09
make the parser combinators their own little library product and add some tests along with getting a few basics down, thanks fsharp for fun check-in: e611504841 user: JoshAshby tags: 2022
07:02
playing around with maybe thinking about making some parser combinators instead and how I'd get them working check-in: 12b0e9fe04 user: JoshAshby tags: 2022
07:01
day 3 part 1 hack check-in: cba01b9f21 user: JoshAshby tags: 2022
01:46
linuxifify check-in: a6bbb79452 user: JoshAshby tags: 2022
00:28
start on day 3 check-in: a8c94a39ef user: JoshAshby tags: 2022
2023-12-05
23:55
day 2 shenanigans with a whole ast and walker and things for fun check-in: f808d63fa8 user: JoshAshby tags: 2022
2023-12-04
04:40
breakout the munchers into their own files, now to un-complexify this and solve it check-in: 0531c31f5a user: JoshAshby tags: 2022
03:00
start on a way overkill reusable lexer/parser setup that i should be able to fairly easily reuse across days as needed check-in: 52fbc67e31 user: JoshAshby tags: 2022
2023-12-03
05:09
small adjustments to get it working for day 2 as well check-in: 6441151738 user: JoshAshby tags: 2022
2023-12-02
21:26
Start 2023 and do day 1. trying out a different structure for the swift package and just doing it all as one deal rather than separate projects for each day, this way I can share code a little easier and have maybe less scaffolding each day. also copied over the downloader from last year with some changes check-in: 0476eff0bc user: JoshAshby tags: 2022
21:25
and some more 2022 changes that never got saved check-in: 822c5891e1 user: JoshAshby tags: 2022
21:24
apparently I was working on something from last year? check-in: 154ee33e3b user: JoshAshby tags: 2022
2022-12-16
22:17
work on day 9 write up and face desking on day 16 check-in: f1327d8988 user: JoshAshby tags: 2022
2022-12-15
18:55
get day 9 much more cleaned up to start writing about it check-in: 5c8345bf1b user: JoshAshby tags: 2022
07:04
add in day 15 both parts solutions check-in: 99519f86f5 user: JoshAshby tags: 2022
05:17
playing with day 9 and 13 while waiting on 15 check-in: bdc407bd23 user: JoshAshby tags: 2022
02:56
cleanup day 12 a whole bunch and make use of dicts rather than the nodes to make resetting the path easier check-in: c6d30cbb92 user: JoshAshby tags: 2022
01:03
day 14 solutions both parts. Needs a massive cleanup as I copy-pasted the code and made some small adjustments for part two check-in: b4913c9fdc user: JoshAshby tags: 2022
01:02
day 13 parser refactor and made a second recursive descent parser as well for practice check-in: 8fb0aa0380 user: JoshAshby tags: 2022
2022-12-13
23:40
day 13 solutions both parts, really struggled with figuring out the parsing correctly without using json check-in: ba1791a08f user: JoshAshby tags: 2022
05:20
day 8 write up and cleanup check-in: a707d3a5c0 user: JoshAshby tags: 2022
2022-12-12
17:38
day 12 solutions, both parts, only needs some minimal cleanup check-in: 0efdb88e00 user: JoshAshby tags: 2022
17:38
working on day 8 cleanup, day 11 solutions both parts in a messy way check-in: 788a02bb2c user: JoshAshby tags: 2022
2022-12-10
06:17
day 10 solutions part one and two check-in: 1552054dfb user: JoshAshby tags: 2022
00:24
rework day 1s write up check-in: 25fc2a369d user: JoshAshby tags: 2022
2022-12-09
07:38
more semi-blind editing with Antidote check-in: 31911d99ef user: JoshAshby tags: 2022
07:23
cleaning up day 7, need to go back and edit the other days too :O check-in: 34db143861 user: JoshAshby tags: 2022
06:39
day 9 solutions both parts in a mess check-in: 00e3429750 user: JoshAshby tags: 2022
2022-12-08
21:36
forgot to add day 6 solutions and write up! check-in: 306b6f2497 user: JoshAshby tags: 2022
21:33
cleanup day 7 to use a protocol and do the write up check-in: 216acc766e user: JoshAshby tags: 2022
06:28
finish up day 5 write up and tweak day 8 a tad check-in: 8a3872ea5c user: JoshAshby tags: 2022
06:11
working on day 5 write up, add day 8 solutions both parts check-in: 8a3ab0d279 user: JoshAshby tags: 2022
2022-12-07
07:48
ugh oduble committed the last half refactor. working on cleaning this up check-in: ea473585e0 user: JoshAshby tags: 2022
07:41
day 7 both parts solutions - not too happy with how ugly the parsing got. might have to clean it up for the write up check-in: ddc9e3f3cc user: JoshAshby tags: 2022
07:01
day 7 both parts solutions - not too happy with how ugly the parsing got. might have to clean it up for the write up check-in: 56532c1ac4 user: JoshAshby tags: 2022
07:00
small refactor of the download util to take flags and the year too check-in: 5db225771b user: JoshAshby tags: 2022
2022-12-06
04:12
move things around, need to clean it up for a write up check-in: b1be6ff92a user: JoshAshby tags: 2022
2022-12-05
16:50
working on how to refactor the column parsing into a more intuitive bit of code check-in: 169ffa0b37 user: JoshAshby tags: 2022
16:21
small cleanup before starting to refactor this into something easier to work with check-in: 00a48f8c34 user: JoshAshby tags: 2022
16:14
small cleanup before starting to refactor this into something easier to work with check-in: fb9d60b57d user: JoshAshby tags: 2022
07:22
working day 5 solution, needs lots of cleanup after i learned and fought with regex in swift 5.7 check-in: 7e7c868d75 user: JoshAshby tags: 2022
2022-12-04
19:13
Update day 4 to a standard format, document that standard setup in day 1, work on the day 1 intro for the write up and update the downloader to guess the day number automatically check-in: 65adf5a4c3 user: JoshAshby tags: 2022
06:39
Add in todays write up check-in: 692c9a6f41 user: JoshAshby tags: 2022
05:22
Add in day 4 solutions check-in: e476949724 user: JoshAshby tags: 2022
04:52
try percent encoding and finish a comment in the code that i forgot about check-in: d6f1dce50d user: JoshAshby tags: 2022
04:35
Work on cleaning up and doing a write up for day 3 check-in: 78a543bf86 user: JoshAshby tags: 2022
2022-12-03
07:45
add in tests for the days answers so i can work on refactoring this tomorrow check-in: 583fdd50b5 user: JoshAshby tags: 2022
07:41
quote working end-quote solution to day 3, needs a whole lot of clean up however check-in: 568afd6625 user: JoshAshby tags: 2022
00:44
rework readme for day 2 walk through and my approach, as well as add some test cases and refactor the days code check-in: b0cca8c875 user: JoshAshby tags: 2022
2022-12-02
06:25
add day 2 solutions part 1 and 2 along with a really rough pass at the readme as well as tests. this is currently a naive solution and I'm sure theres some clever trick or fancy pattern matching that I could take advantage of to make this 'clever' check-in: 78f609b2a4 user: JoshAshby tags: 2022
2022-12-01
22:12
add day 2 scaffold and update the readme a tad check-in: da018fef3b user: JoshAshby tags: 2022
20:10
Add in a utility for downloading day inputs check-in: 43c4baf78f user: JoshAshby tags: 2022
07:28
learning how to setup and do tests with swift and refactored to make it testable check-in: bf22905f3b user: JoshAshby tags: 2022
06:50
small update to day01's readme with a small commentary on the approach check-in: 6ef23317af user: JoshAshby tags: 2022
06:39
solve day01. Doing some learning on swift like how to read in a file and then array operations check-in: 6a2640e0f7 user: JoshAshby tags: 2022
05:22
scaffold folders for each day in 2022 check-in: 8c5c686c6c user: JoshAshby tags: 2022
2021-12-29
01:36
add some details and files on common stuff Leaf check-in: 087704f4ad user: JoshAshby tags: trunk
2021-12-28
23:53
day 20 both parts solutions check-in: e7ea2da956 user: JoshAshby tags: trunk
23:52
centralized on the lib parser combinator now that I've got all of it working check-in: 2bb097dcdd user: JoshAshby tags: trunk
2021-12-23
05:26
add in two progressions of parser combinators as I'm learning check-in: cf6b8b8066 user: JoshAshby tags: trunk