Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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: |