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/mercury_stuff: toys/vials.m - sourcehut git

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

#toyprogrammingchallenge

@Absinthe yes, it's not the easiest to install.

I had to go with the source release on my system, the usual configure-make-install process, so relatively straight forward, but takes a while to build.

And it's even harder to comprehend the language itself, which is what attracted me in the first place :D

@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.

@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.

@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.

https://www.jsoftware.com/#/

Jsoftware

Jsoftware Home