Ez_subst is a simple module to perform string substitutions, like ${brace}, $(paren), $[bracket] or $alpha. It provides many options to configure the substitutions.
Website: https://ocamlpro.github.io/ez_subst
General Documentation: https://ocamlpro.github.io/ez_subst/sphinx
API Documentation: https://ocamlpro.github.io/ez_subst/doc