Of all the weird code I've written, I think the thing I'm the proudest of is the HTTP/2 client I wrote in Prolog [1]. A ridiculous undertaking, for a very silly reason, but it worked & runs in prod.
I also like that I managed to write the main DCGs so only one clause is needed for both parsing & generating; prolog is so cool