Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi0604 authored Dec 7, 2023
1 parent e4f3d13 commit 850cb1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Ideas for languages, in no particular order:
- [x] OCaml
- [x] Rust
- [x] x86-64 Assembly
- [ ] JavaScript + HTML + CSS
- [ ] ARM Assembly
- [ ] Ada
- [ ] COBOL
Expand Down Expand Up @@ -61,4 +62,4 @@ I don't know what you'd be using this for, but if you must: AGPLv3 or later.
- d4: Wrote both parts in **🐫 OCaml**. This took longer than it would if I hadn't also stubbornly decided that today is the day on which I finally grok parser combinators (See above). Wrote a parser combinator and fought with a weird "Why is that of that type" bug and finished part one on the first submission. For part 2, I don't really see the functional solution, so I wrote a `for` loop that mutates an `int array`. I still don't know the difference between `in`, `;` and `;;` precisely but it works. Also finished part 2 on first submission. I definitely want to combine more parsers in the future, maybe I'll try `Parsec` again now. I didn't bother with making it build both binaries today, so you'll have to manually change `d4/dune` to do that.
- d5: Wrote both parts in **#️⃣ C#**. No complaints about the language, considering that it's a spiced up Java and my childhood programming language. Part 1 went over easily. Part 2 took forever because of my aversion to rewriting completely exactly when it would be the right time to do so, as well as imperative programming badness. All in all, got done though.
- d6: Wrote both parts in **➕ C++** while not at home. Bruteforce was way fast enough. Had integer overflow on part 2.
- d7: Had I known about the theme of this day beforehand, I would've reserved OCaml for it.
- d7: Had I known about the theme of this day beforehand, I would've reserved OCaml for it. Instead, I decided it would be fun to build a nice little page for it with **🌐 JavaScript, HTML and CSS**. While that probably took more time than actually writing the code, it was a fun experience. Also, I didn't think I'd be the one who falls for the "JavaScript `array.sort` meme" but here we are. You can view it [here](https://maxi0604.github.io/aoc2023/d7).

0 comments on commit 850cb1d

Please sign in to comment.