#puzzle #advent #extract #solve #problem #file-line #parse

enontekio

Utilities to solve problems with data extraction and manipulation, like Advent of Code puzzles

4 releases

0.2.0 Dec 18, 2022
0.1.3 Dec 18, 2022
0.1.2 Dec 12, 2022
0.1.1 Dec 10, 2022
0.1.0 Dec 8, 2022

#2159 in Algorithms

BSD-2-Clause

21KB
366 lines

Enontekio

Enontekio is a Rust library containing utilities frequently used to solve problems with data extraction and manipulation, like Advent of Code puzzles.

Enontekïo is a city in Lapland, and as Advent of Code uses the elves' myth, that was a suitable name for this library.

Parser

Those functions allow to parse a file line by line, and map lines to specific types.

Ops

Ranges

Describe how two ranges intersect.

Code is based on a fork of the range-ext crate by Anicka Burova. https://github.com/AnickaBurova/range-ext

License

Licensed under BSD-2-Clause.

Dependencies

~205KB