Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kenny2github/gleam-aoc

Advent of Code 2023 in Gleam.
https://github.com/kenny2github/gleam-aoc

advent-of-code advent-of-code-2023 gleam gleam-lang

Last synced: 3 days ago
JSON representation

Advent of Code 2023 in Gleam.

Awesome Lists containing this project

README

        

# Gleam Advent of Code

I'm learning [Gleam](https://gleam.run) by doing [Advent of Code](https://adventofcode.com) [2023](https://adventofcode.com/2023).

## Development

```sh
gleam run # Run the project
```
Requires an `inputs/dayN.txt` for every `dayN.gleam` that exists.

## Testing

```sh
gleam test # Test the project
```
Requires an `inputs/dayN.txt` and an `outputs/dayN.txt` (as many lines as parts) for every `dayN_test.gleam` that exists.

Alternatively, use `gleam test _demo` to run tests on the `inputs_demo` and `outputs_demo` directories instead.