A repository containing my solutions to the Advent of code 2023
The solutions are written in Clojure. Leningen can be used to execute the code within this project to e.g. run tests on the solutions.
The solutions are located in src/advent_of_code_2023/
. The solutions for day XY are found in file dayXY.clj
. The corresponding tests are found in files named test/advent_of_code_2023/dayXY_test.clj
.
If you are a newcomer to Clojure, consider checking out these links:
- Clojure For the Brave and True
- Clojure Docs
- Clojure Cheatsheet
- Clojure Style Guide
- An introductory, self study functional programming course
If you plan to use this as a base project for your own solutions also consider the following plugins for leiningen and other helpful assorted tools:
- kibit to discover idiomatic functions for constructs you are using
- clj-kondo: A static analyzer and linter
- eastwood for linting
- lein-auto to automatically run tasks on file changes
- eftest for prettier test output
Please remember to not include the puzzle input in your repository as noted in the about page of the advent of code.
Copyright © 2023 nihas101
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.