https://github.com/drewolson/aoc-ocaml
Advent of Code in OCaml
https://github.com/drewolson/aoc-ocaml
Last synced: about 1 year ago
JSON representation
Advent of Code in OCaml
- Host: GitHub
- URL: https://github.com/drewolson/aoc-ocaml
- Owner: drewolson
- Created: 2023-10-11T22:24:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-18T20:35:24.000Z (over 1 year ago)
- Last Synced: 2025-04-05T13:03:22.290Z (about 1 year ago)
- Language: OCaml
- Homepage:
- Size: 318 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code in OCaml
## Run
```
dune exec aoc -- -help
dune exec aoc -- --day 1 --part 1
dune exec aoc -- -d 1 -p 1
```
## Build
```
dune build
```
## Test
```
dune test
```
## Create Local Switch
```
opam switch create ./ ocaml-base-compiler.5.3.0 --deps-only --locked
```
## Install New Dependencies
```
opam install . --deps-only
```
## Lock New Dependencies
```
opam lock . --direct-only
```