Commit Graph

19 Commits

Author SHA1 Message Date
ryan
239af2f93b refactor day 8 a bit 2023-10-01 13:12:36 -07:00
ryan
7d6b43ba93 day 8 complete ! 2023-10-01 01:55:36 -07:00
ryan
b7aabdedcb dont let warnings fail the build >:( 2023-10-01 01:54:23 -07:00
ryan
3d2a2f2c4d added comment & got rid of match%pcre 2023-09-30 23:20:47 -07:00
ryan
1fdb1ebc36 solved day 7 !! 2023-09-30 19:15:28 -07:00
ryan
666c81118f update day5 to use terse array syntax
array.(index) <- some_value
2023-09-27 21:26:52 -07:00
ryan
45d735bac9 solved day 6 ! 2023-09-25 11:31:59 -07:00
ryan
f31499ecda solved day 5 ! 2023-09-25 09:39:17 -07:00
ryan
c61676cf02 solved day 4 !
and updated main.ml lol
2023-09-22 16:59:03 -07:00
ryan
0a24022629 replace parse_line with CC map_same and take_drop
thank u https://doc.sherlocode.com
2023-09-22 15:54:11 -07:00
ryan
6a276c3c1b solved day 3 ! 2023-09-22 15:15:36 -07:00
ryan
661cdf1c95 add containers and remove jane streets stdio 2023-09-22 15:09:12 -07:00
ryan
d8a90a3ae5 better lines_of_input error 2023-09-21 21:56:32 -07:00
ryan
89eb0c7a27 use dune_site module to find inputs
this packages the inputs as part of the build and exposes the directory
to find them via a generated module. this way, inputs are a resource of
the library rather than an input.

this means that `dune exec aoc` and `dune utop` will always find the
file regardless of where they are invoked, which makes developing in
emacs simpler :)
2023-09-21 21:40:21 -07:00
ryan
e1402bc17d made src a lib so that it loads into utop
also made an exe dir that does what `main.ml` used to do.
now `dune exec aoc` and `dune utop .` both do what they should :)
2023-09-21 20:05:48 -07:00
ryan
869858c00e make the print functions into actual functions lol 2023-09-21 20:04:58 -07:00
ryan
dd0acc4ddb rename bin to src and delete boring dirs 2023-09-21 19:06:02 -07:00
ryan
de277999f4 were multi-file now baybee 2023-09-21 19:03:04 -07:00
ryan
2eae917f47 init! 2023-09-21 18:17:39 -07:00