{"id":22161587,"url":"https://github.com/applejag/adventofcode-2024-ocaml","last_synced_at":"2025-07-10T01:39:53.755Z","repository":{"id":265911351,"uuid":"896845316","full_name":"applejag/adventofcode-2024-ocaml","owner":"applejag","description":"My (failed) attempt at Advent of Code 2024 using OCaml https://adventofcode.com/2024","archived":false,"fork":false,"pushed_at":"2024-12-04T19:01:47.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T01:00:17.653Z","etag":null,"topics":["advent-of-code","advent-of-code-2024","advent-of-code-ocaml","ocaml"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/applejag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T12:55:28.000Z","updated_at":"2024-12-04T20:17:24.000Z","dependencies_parsed_at":"2024-12-02T01:46:10.458Z","dependency_job_id":null,"html_url":"https://github.com/applejag/adventofcode-2024-ocaml","commit_stats":null,"previous_names":["applejag/adventofcode-2024-ocaml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fadventofcode-2024-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fadventofcode-2024-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fadventofcode-2024-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Fadventofcode-2024-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applejag","download_url":"https://codeload.github.com/applejag/adventofcode-2024-ocaml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245296252,"owners_count":20592186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","advent-of-code-2024","advent-of-code-ocaml","ocaml"],"created_at":"2024-12-02T04:16:13.906Z","updated_at":"2025-03-24T15:25:41.457Z","avatar_url":"https://github.com/applejag.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024 via OCalm\n\nThis repo contains my attempt at Advent of Code 2024 (\u003chttps://adventofcode.com/2024\u003e)\n\n\u003e [!NOTE]\n\u003e I gave up on OCaml. In summary, what a horrible mess when trying to look\n\u003e at docs to learn how to use stuff. It's like when trying to use Emacs\n\u003e or NixOS for the first time, people online write \"oh to get this thing\n\u003e working, just add this stanza to your moniker list, super simple\" like\n\u003e WHAT ARE YOU TALKING ABOUT???\n\u003e\n\u003e I just wanted to use some Regex on [day 3](https://adventofcode.com/2024/day/3)\n\u003e but I've spent so much time digging through docs and StackOverflow\n\u003e answers to try understand how to just *get a damn regex working!*\n\u003e\n\u003e In summary: OCaml needs to work on their onboarding and improve their\n\u003e docs before I ever try that language again.\n\u003e For now, this endevour can die in hell while I'm going to skip over to\n\u003e a different language.\n\u003e\n\u003e To not spend too much time thinking, I've decided to use my main\n\u003e language instead: Go \u003chttps://github.com/applejag/adventofcode-2024-go\u003e\n\n## Running\n\nRequires regular install of OCaml (v5.2.1+) with `opam` (v2.3.0+)\nand `dune` (v3.17.0+): \u003chttps://ocaml.org/install\u003e\n\n```console\n$ dune exec adventofcode -- --help\nadventofcode \u003cday\u003e\n  --file Input file inside the inputs/dayXX/ directory\n  -help  Display this list of options\n  --help  Display this list of options\n```\n\n```console\n$ dune exec adventofcode -- 1\n=== file: inputs/day01/input.txt\n=== day 01, part 1:\nsum: 2430334\n\n=== day 01, part 2:\narray len: 99980\nsum: 28786472\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Fadventofcode-2024-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplejag%2Fadventofcode-2024-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Fadventofcode-2024-ocaml/lists"}