adventofcode

borkdude 2022-09-02T09:26:30.559629Z

Would anyone be interested in testing #squint 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

borkdude 2022-09-02T09:45:00.306419Z

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

borkdude 2022-09-02T10:59:26.407829Z

Made a repo here: https://github.com/clavascript/advent-of-code

borkdude 2022-09-02T11:11:03.938999Z

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 :)

liebs 2022-09-02T19:37:09.947869Z

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

borkdude 2022-09-02T19:38:04.800869Z

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