Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cidem/aoc2018
Advent of Code 2018
https://github.com/cidem/aoc2018
advent-of-code advent-of-code-2018 adventofcode aoc aoc2018 cli haskell optparse-applicative rust
Last synced: 9 days ago
JSON representation
Advent of Code 2018
- Host: GitHub
- URL: https://github.com/cidem/aoc2018
- Owner: cideM
- Created: 2018-12-02T16:47:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T15:32:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T00:27:44.888Z (26 days ago)
- Topics: advent-of-code, advent-of-code-2018, adventofcode, aoc, aoc2018, cli, haskell, optparse-applicative, rust
- Language: Haskell
- Size: 9.29 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :christmas_tree: Advent of Code 2018 :santa:
Every language has its own folder.
## Rust
```shell
cd rust
cargo run --release -- -f ../data/day4.txt -d 4
```## Node
```shell
cd node
./bin/run -d 7 -f ../data/day7.txt
```## Haskell
(requires `stack`)
```shell
cd haskell
chmod +x ./1.hs
cat ../data/day1.txt | ./1.hs
```Day 24 is a proper subfolder so here you can do
```
stack run < path/to/data
```## Progress (24/24)
| | Rust | Haskell | Node |
| --- | ------ | ------- | ------ |
| 1 | :zzz: | :bell: | :zzz: |
| 2 | :zzz: | :bell: | :zzz: |
| 3 | :zzz: | :bell: | :zzz: |
| 4 | :bell: | :zzz: | :zzz: |
| 5 | :bell: | :zzz: | :zzz: |
| 6 | :bell: | :zzz: | :zzz: |
| 7 | :zzz: | :zzz: | :bell: |
| 8 | :bell: | :zzz: | :zzz: |
| 9 | :zzz: | :bell: | :zzz: |
| 10 | :zzz: | :bell: | :zzz: |
| 11 | :zzz: | :zzz: | :bell: |
| 12 | :zzz: | :zzz: | :bell: |
| 13 | :zzz: | :bell: | :zzz: |
| 14 | :bell: | :zzz: | :zzz: |
| 15 | :zzz: | :bell: | :zzz: |
| 16 | :bell: | :bell: | :zzz: |
| 17 | :zzz: | :zzz: | :bell: |
| 18 | :zzz: | :zzz: | :bell: |
| 19 | :zzz: | :bell: | :zzz: |
| 20 | :zzz: | :bell: | :zzz: |
| 21 | :zzz: | :bell: | :zzz: |
| 22 | :zzz: | :bell: | :zzz: |
| 23 | :zzz: | :bell: | :zzz: |
| 24 | :zzz: | :bell: | :zzz: |
| 25 | :zzz: | :bell: | :zzz: |