https://github.com/varbrad/aoc23
My Advent of Code 2023 solutions. All written in TypeScript, running using Bun & testing using the built-in test framework.
https://github.com/varbrad/aoc23
advent-of-code-2023 bun typescript
Last synced: about 1 month ago
JSON representation
My Advent of Code 2023 solutions. All written in TypeScript, running using Bun & testing using the built-in test framework.
- Host: GitHub
- URL: https://github.com/varbrad/aoc23
- Owner: varbrad
- Created: 2023-12-01T07:58:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T10:08:28.000Z (over 2 years ago)
- Last Synced: 2025-10-19T00:51:03.731Z (8 months ago)
- Topics: advent-of-code-2023, bun, typescript
- Language: TypeScript
- Homepage:
- Size: 300 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aoc23
## Notes
- Day 24
- Part 2 was solved using the Z3 theorem prover - but the npm library does not work in Bun - so I had to make a seperate JS script that runs in Node.js instead. This is not commited as part of the repo. See [./solutions/d24.ts](./solutions/d24.ts) for more info.
- Day 25
- There is no part 2.
## Usage
To install dependencies:
```bash
bun install
```
To test:
```bash
bun test
```
To benchmark:
```bash
bun benchmark.ts
```
[Click here to view the latest benchmark runs in CI](https://github.com/varbrad/aoc23/actions/workflows/benchmark.yml)