GithubHelp home page GithubHelp logo

rocketrace / aoc2023 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.37 MB

One language per day during Advent of Code

Factor 2.72% Zig 10.89% Clojure 5.72% Mathematica 0.68% Shell 4.71% Julia 2.26% Crystal 0.93% F# 5.78% Haskell 2.83% Lua 3.13% Kotlin 5.72% TypeScript 3.67% Rust 13.83% Idris 3.89% Raku 4.66% Python 3.21% Scala 5.86% Swift 7.27% Typst 3.52% Elixir 8.71%

aoc2023's Introduction

Advent of Code 2023

Using a different language every day.

Programs assume a file named input containing input text in the day's folder, and should be executed from that folder.

  • Day 1: Uiua (0.3.1) uiua solution.ua
  • Day 2: Factor (0.99) factor solution.factor
  • Day 3: Zig (0.11.0) zig run solution.zig
  • Day 4: BQN (CBQN 0.4.0) bqn solution.bqn
  • Day 5: Clojure (1.11.1.1429) [spawn a REPL (e.g. clojure) and run the contents of five/src/five/core.clj] (this should have been a clojurescript file to be fair)
  • Day 6: Wolfram Language (1.9.0) cat input | wolframscript -file solution.wl
  • Day 7: Zsh (5.9) cat input | ./solution.zsh
  • Day 8: Julia (1.9.4) julia solution.jl
  • Day 9: Crystal (1.10.1) crystal solution.cr
  • Day 10: F# (MS FSI 12.8.0.0) dotnet fsi solution.fsx
  • Day 11: Haskell (GHC 9.8.1) ghc solution.hs && ./solution
  • Day 12: Lua (5.4.6) lua solution.lua
  • Day 13: Koka (2.4.2) koka -e solution.kk
  • Day 14: Kotlin (1.9.21-release-633) kotlin solution.kts
  • Day 15: Idris 2 (0.6.0) cat input | idris2 -x main solution.idris
  • Day 16: Typst (0.10.0) typst compile solution.typ note: part 2 must be computed one section at a time due to memory leaks
  • Day 17: Rust (1.74.0) cargo run
  • Day 18: APL (Dyalog 18.2) dyalogscript solution.apls
  • Day 19: Raku (v6.d, Rakudo v2023.11) raku solution.raku
  • Day 20: Elixir (1.15, Mix 1.15.7) elx -S mix and run Twenty.part1 / Twenty.part2
  • Day 21: Typescript (5.3.3, Node v21.2.0) tsc && node solution.js
  • Day 22: Swift (5.9.2, swift-driver 1.87.3) swift solution.swift
  • Day 23: Scala (3.3.1, sbt 1.9.7) sbt run
  • Day 24: Python 3 (cpython 3.11.6, z3-solver 4.12.4.0) python3 solution.py
  • Day 25: By hand (v2023-12-25) read and follow solution.txt

aoc2023's People

Contributors

rocketrace avatar

Watchers

 avatar

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.