Quasi-quotations, again

I’ve added a tentative library(strings) now providing dedent_string/3, interpolate_string/4 and the string quasi quotations, now based on these two predicates. I think that is useful for anyone working with long strings, although
there is a big WARNING telling you that interpolating strings is dangerous if the result is to be processed as some formal language.

See https://github.com/SWI-Prolog/swipl-devel/blob/16f07a5abe9f943425ad06952a36727c4317b7b1/library/strings.pl

Comments (naming, consistency with conventions elsewhere, etc) are welcome.

6 Likes