And that doesn't just run it, but brings up "ghcid" which is sort of like a command line IDE, showing compile errors, and recompiling on file change, in addition to running the main function.
Looking into something more self-contained, and may finally get around to writing a parser-solver-printer framework so I can factor all that boring logic out
Posted in Slack, but maybe people here are also doing AOC this year? My solutions (spoilers!) will be at https://github.com/glebec/advent-of-code-2019.
Posted leaderboard from Slack (43100-84040706) as this topic's subject.
tldr of what AOC is?
Advent of Code is a set of programming puzzles. It's quite fun
/me participates (too late?)
Mine, nix based and shebang self-contained scripts :-D https://github.com/srid/aoc2019
Oh, that's a neat idea. Maybe I'll do that this year
Everything is self-contained. It should "just work" if you clone the repo and run, say
./02.hs
.(need to install Nix itself first, of course)And that doesn't just run it, but brings up "ghcid" which is sort of like a command line IDE, showing compile errors, and recompiling on file change, in addition to running the main function.
I suppose if I add tmux/vim, it can truly be considered a command line IDE that is launched as a self-contained script
https://github.com/jhenahan/adventofcode2019/blob/master/src/Day1.hs
Looking into something more self-contained, and may finally get around to writing a parser-solver-printer framework so I can factor all that boring logic out
I have never done AOC before. Will there be more parsing involved as the days go by?
it depends on the year mostly, but every problem can be seen as having minimum parsing machinery
oh my god. is it time for AOC again? jesus this has been a fast year
is AoC going to be like ICPC problems as christmas approaches?
Nope.
I kind of wish it did. Would be more fun. :-D
https://github.com/jhenahan/adventofcode2019/blob/master/src/Day2.hs
Lagging behind, but trying to catch up soon.