Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/flimberger/aoc2023

Advent of Code 2023 using Erlang
https://github.com/flimberger/aoc2023

advent-of-code advent-of-code-2023 erlang

Last synced: 26 days ago
JSON representation

Advent of Code 2023 using Erlang

Awesome Lists containing this project

README

        

Advent of Code 2023

Requirements:

- Erlang
- BSD make

Setup:

Each day is implemented in a directory containing an Erlang module which
provides four functions:

- puzzle1/0 - runs the solution for the first task on the input file
(usually input.txt)
- test1/0 - runs the solution on the provided test data for the first
task (usually example1.txt)
- puzzle2/0 - runs the solution for the second task on the input file
(usually input.txt)
- test2/0 - runs the solution on the provided test data for the second
task (usually example1.txt)

Each directory contains a single makefile, ideally containing only two
lines:

MOD := name

.include "../mk/erlang.mk"