Follow

This year for , all the languages I was interested in playing with felt like they were gonna be a lot of work to learn and actually solve things in. I didn't feel quite up to it this year so I hacked out day 1 in - which is a delight but hardly new, QBasic is the first language I coded in!

But then @nihilazo started poking around in retroforth. Forth was high on my list but I didn't know what flavor to go with, so I gave retro a run, and it's nice, just enough bells and whistles to be approachable.

After porting over my initial solution to Forth and tearing my hair out over variable declarations, I took a fresh run at it with stacks in mind, and ended up with what I think is a pretty nice, tidy solution. Especially nice was that when I needed to clean up the stack to do the full solution rather than leave the whole list in memory, it was literally removing one word. Fun! Yay fedi folks!

gitlab.com/cincodenada/advent-

· · Web · 1 · 0 · 1

@cincodenada Are you going to stream it again this year? I enjoyed tuning in last year for that.

@gabek Aw thanks! I thought about streaming as I was hacking at the Forth today but didn't get around to it, so I may well do some streaming for future days. I'll post here when I do of course!

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!