Fork me on GitHub
#adventofcode
<
2022-09-02
>
borkdude09:09:30

Would anyone be interested in testing #clavascript for Advent of Code problems? It is a dialect of Clojure that looks a lot like CLJS, but is built on mutable JS, it does not come with persistent data structures. {:a 1} means mutable object and [1 2 3] is an array. It's basically "write CLJ syntax, get JS". I think it could be really interesting for AoC. https://github.com/clavascript/clavascript

borkdude09:09:00

Expect some rough edges though, but it might be fun to fix those as part of the challenge :)

borkdude11:09:03

This is my solution to day 1: https://github.com/clavascript/advent-of-code/blob/main/2021/day01_borkdude.cljs You're welcome to contribute yours :)

Ben Lieberman19:09:09

This looks fun, I will check this out. You can do day 1 part 2 with (nthrest coll 3) I believe :thinking_face: I did this problem recently and I believe that worked

borkdude19:09:04

Nice! Note that clavascript is a re-implementation of CLJS-ish in JS so not all core functions exist yet, but that is a good chance to post an issue and maybe submit an implementation

👀 1