Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nihas101/advent-of-code-2023

Solutions for AoC 2023 in clojure
https://github.com/nihas101/advent-of-code-2023

Last synced: about 1 month ago
JSON representation

Solutions for AoC 2023 in clojure

Awesome Lists containing this project

README

        

# Advent of Code 2023
A repository containing my solutions to the [Advent of code 2023](https://adventofcode.com/2023)

## Requirements
The solutions are written in [Clojure](https://clojure.org). [Leningen](https://leiningen.org/) can be used to execute the code within this project to e.g. run tests on the solutions.

## 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`.

# Using This Repository as a Base

## Useful Links
If you are a newcomer to Clojure, consider checking out these links:
- [Clojure For the Brave and True](https://www.braveclojure.com/)
- [Clojure Docs](https://clojuredocs.org/)
- [Clojure Cheatsheet](https://clojure.org/api/cheatsheet)
- [Clojure Style Guide](https://guide.clojure.style/)
- [An introductory, self study functional programming course](https://github.com/pkoerner/functional-programming-course)

# Helpful Tools
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](https://github.com/clj-commons/kibit) to discover idiomatic functions for constructs you are using
- [clj-kondo](https://github.com/clj-kondo/clj-kondo): A static analyzer and linter
- [eastwood](https://github.com/jonase/eastwood) for linting
- [lein-auto](https://github.com/weavejester/lein-auto) to automatically run tasks on file changes
- [eftest](https://github.com/weavejester/eftest) for prettier test output

# Notice
Please remember to not include the puzzle input in your repository as noted in the [about page](https://adventofcode.com/about) of the advent of code.

## License

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.