Giter Club home page Giter Club logo

scala-aoc-2017's Introduction

Build Status GitHub issues

Advent of Code - 2017 (Scala Edition)

Note: There are implementations of this in Scala (JVM and native), Kotlin, Haskell and Eta. If you like any of these ... star it :).

This is a JVM/Native crossproject. To make this work you need to ...

  • install git (brew install git)
  • install sbt (brew install sbt)
  • clone the repo (git clone ...)
  • run the tests (sbt aocJVM/test)
    • this will run all tests and this might take a while
    • you can run specific tests with sbt "aocJVM/testOnly aoc.Day01Spec"
    • you can run sbt "aocJVM/testOnly aoc.Day*Spec -- -l aoc.SlowTest" to only run the fast tests (exclude the slow tests)
    • you can run sbt "aocJVM/testOnly aoc.Day*Spec -- -n aoc.SolutionTest" to only run the tests that will test for the correct solutions
  • run the JVM main (sbt aocJVM/run)
  • run the Native main (sbt aocNative/run)
  • run a subset of the days (sbt "aocJVM/run 1/1 5/2 18/1")
  • generate the doc (sbt doc) and look at it (open target/scala-2.10/api/index.html)

Note: To make Scala Native work you probably need to install a couple more packages.

Have fun!!!

Note: An older version also had ScalaCheck tests and ScalaMeter tests (that do not work anymore).

scala-aoc-2017's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scala-aoc-2017's Issues

**Cards**

Cards can be added to your board to track the progress of issues and pull requests. You can also add note cards, like this one!

:sparkles: **Welcome to GitHub Projects** :sparkles:

We're so excited that you've decided to create a new project! Now that you're here, let's make sure you know how to get the most out of GitHub Projects.

  • Create a new project
  • Give your project a name
  • Hit the ? key to see available keyboard shortcuts
  • Add a new column
  • Drag and drop this card to the new column
  • Search for and add issues or PRs to your project
  • Manage automation on columns

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.