ninety nine vials of mercury
https://git.sr.ht/~namark/mercury_stuff/tree/master/toys/vials.m
took me ages and is probably the worst way to do it... worth it!
#toyprogrammingchallenge #mercurylang
@namark Looks good. I liked your play on the lyrics. I tried to d/l the compiler but it was taking more effort than I am currently willing to put into yet another language :)
@namark I got it to install the ROTD version, but then it wouldn't run without some other configuration stuff.
If I want procedural I will use Lisp and for logic would lean towards Prolog (though I haven't used it in way too many years)
If you like a tough language try BrainF**k
But I keep meaning to revisit the language "J" (kind of a modern take on APL) nice terse "golf coding" type language.
@namark They are all hard to read/understand until you know them :) But definitely give J a peek, it is definitely one I will eventually get back to eventually.
@Absinthe I didn't mean that it's hard to read, it actually has a rather verbose syntax. It's just hard for me to understand how it actually functions.
I guess I'm too used to imperative programming, and functional programming just being a thin wrapper on top, while logic programming is a thick enough wrapper, that I just can't see through it. For someone familiar with prolog it probably wouldn't seem that novel.