All Projects → borkdude → advent-of-cljc

borkdude / advent-of-cljc

Licence: other
Cross platform Clojure Advent of Code solutions

Programming Languages

clojure
4091 projects
shell
77523 projects

Projects that are alternatives of or similar to advent-of-cljc

talltale
A Clojure/ClojureScript Fake Data Generator Library
Stars: ✭ 62 (+40.91%)
Mutual labels:  clojure-spec
aoc
Advent of Code CLI for reading, running and submitting.
Stars: ✭ 30 (-31.82%)
Mutual labels:  advent-of-code
AdventOfCode2020
Solving Advent of Code 2020, each day in a different language
Stars: ✭ 22 (-50%)
Mutual labels:  advent-of-code
AoCHelper
Helper .NET library for solving Advent of Code puzzles
Stars: ✭ 22 (-50%)
Mutual labels:  advent-of-code
awesome-adventjs
🎅🎄 A collection of awesome resources related to the adventJS challenge https://adventjs.dev by @midudev
Stars: ✭ 45 (+2.27%)
Mutual labels:  advent-of-code
clausejs
Write contract once. Get data & function validators & conformers, an accurate & readable project contract, auto-generated API documentation, generative test coverage, plus more. A tool that enables a more predictable workflow for developing your JavaScript projects.
Stars: ✭ 29 (-34.09%)
Mutual labels:  clojure-spec
advent-of-code
https://adventofcode.com/
Stars: ✭ 76 (+72.73%)
Mutual labels:  advent-of-code
adventofcode
🎄 Advent of Code (2015-2021) in C#
Stars: ✭ 114 (+159.09%)
Mutual labels:  advent-of-code
AdventOfCodeBase
Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
Stars: ✭ 33 (-25%)
Mutual labels:  advent-of-code
AdventOfCode2021
Solutions to all 25 AoC 2021 problems in Rust 🦀 Less than 100 lines per day and under 1 second total execution time. With competitive global leaderboard placements! 🎄
Stars: ✭ 34 (-22.73%)
Mutual labels:  advent-of-code
defn-spec
Define Clojure specs inline with your function definitions
Stars: ✭ 67 (+52.27%)
Mutual labels:  clojure-spec
advent-of-code-2019
Advent of Code 2019 Submissions
Stars: ✭ 27 (-38.64%)
Mutual labels:  advent-of-code
adventofcode-21
AdventOfCode 2021 solutions from the Devcord server
Stars: ✭ 12 (-72.73%)
Mutual labels:  advent-of-code
advent-2020-kotlin
🎄 Advent of Code 2020: Solutions in Kotlin
Stars: ✭ 37 (-15.91%)
Mutual labels:  advent-of-code
coding challenge-24
Advent of Code 2019
Stars: ✭ 50 (+13.64%)
Mutual labels:  advent-of-code
zk
Cross-platform zero knowledge proofs
Stars: ✭ 44 (+0%)
Mutual labels:  cljc
advent2019
advent of code 2019
Stars: ✭ 24 (-45.45%)
Mutual labels:  advent-of-code
Scrypto-Advent-Calendar
Scrypto Advent Calendar. Learn the new programming langage to build secure DeFi applications quickly.
Stars: ✭ 22 (-50%)
Mutual labels:  advent-of-code
spartan.spec
A spartan version of clojure.spec compatible with babashka
Stars: ✭ 29 (-34.09%)
Mutual labels:  clojure-spec
solutions
Solutions to online programming problems
Stars: ✭ 36 (-18.18%)
Mutual labels:  advent-of-code

Advent of CLJC

CircleCI

Cross platform Clojure Advent of Code solutions.

scores

Contribute

What's in it for you?

  • Most of all, you will be encouraged to write portable Clojure code: a solution that runs on the JVM via Clojure and on Node via ClojureScript.
  • Your Advent of Code solutions will be checked against the same input as others. This diminishes the possibility that your solution only works for your specific input.
  • The performance of your solution can be compared with others via CircleCI (see Scores).

What's in it for the Clojure community?

  • You are helping advance the speculative project, a collection of core specs.
  • You are helping to build a large Clojure corpus for various purposes (see the Rationale for coal-mine).

PRs welcome. Make a new solution file with the new script:

script/new 2017 1 username

where username is your Github or Bitbucket username. Then fill in the solution in the file. If the input and answers are still empty you will have to provide it in data.cljc.

This repo will not accept multiple inputs and answers (see this issue for details).

Dev

Read here how to get an nREPL for this project.

Tests

Make sure the tests for your solution pass with the test-one script.

Please do not run calculations outside the tests. Memoized functions are permitted. Top-level lazy sequences are fine as long as they are not realized outside the tests.

CircleCI runs tests for changed namespaces with the .circle/test-diff script.

Tests support the following metadata:

  • :skip-cljs: used for skipping Node tests. Used in .circle/test-diff, script/test and script/test-one.
  • :skip: used for skipping tests in script/test.

Run all tests:

script/test

Run one test:

script/test-one 2017 1 username

Run with instrumentation:

INSTRUMENT=true script/test
INSTRUMENT=true script/test-one aoc.y2017.d01.username

Skip Clojure or ClojureScript:

SKIP_CLJ=true script/test
SKIP_CLJS=true script/test

Scores

To view a time comparison of your solutions to others, go to CircleCI, open "Test changed namespaces" and scroll to the end.

The entire list of scores can be viewed and downloaded in CSV format here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].