What's on my mind

Hacking Rust and other awesomeness.

30 November 2023

Advent of Code 2023 šŸŽ‰

by Keith Star

Until this year, I never remember about Advent of Code until itā€™s too late. Never wanting to do things the easy way, I decided to do the 2023 Advent of Code in dwarf.

dwarf is my programming language ā€“ perhaps another sign that I donā€™t do things simply. Itā€™s an offshoot of a larger project that Iā€™ve been working on for about eight months. I just recently finished adding async/await` support to the language and I was sort of wondering whatā€™s next.The best part of this plan is that Iā€™ll be adding the solutions as unit tests. Along with participating in the event, Iā€™ll be hardening the language and adding missing features. Perhaps best of all, this shows that dwarf can be a general purpose programming language.

Expect spoilers, but also expect to get into the guts of an interpreter. I donā€™t plan on going too deeply into how the interpreter works, but weā€™ll certainly dip our toes.

tags: dwarf, - adventofcode, - rust