Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lloydrichards/edu_advent-of-code-2023
Solutions to the 2023 Advent of Code. Using fp-ts and Bun.
https://github.com/lloydrichards/edu_advent-of-code-2023
advent-of-code fp-ts typescript
Last synced: 1 day ago
JSON representation
Solutions to the 2023 Advent of Code. Using fp-ts and Bun.
- Host: GitHub
- URL: https://github.com/lloydrichards/edu_advent-of-code-2023
- Owner: lloydrichards
- Created: 2023-12-01T20:02:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-16T17:22:01.000Z (11 months ago)
- Last Synced: 2024-03-16T23:31:27.281Z (11 months ago)
- Topics: advent-of-code, fp-ts, typescript
- Language: TypeScript
- Homepage:
- Size: 280 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code 2023
This repository contains my solutions to the
[Advent of Code](https://adventofcode.com/) puzzles in 2023.I'm using this as an opportunity to improve my functional programming skills in
[fp-ts](https://gcanti.github.io/fp-ts/). I've setup a
[bun](https://bun.sh/) environment for running the code and tests in Typescript.The solutions are in the `src` directory. Each day has its own directory, and
there is a solution for each part of the puzzle. The `input` directory contains
the puzzle input for each day.## Running the code
To run the code, you'll need to install the dependencies:
```bash
bun install
```Then you can run the code for a given day:
```bash
bun run src/day_1/part_1.ts
```To run the tests:
```bash
bun test
```