Quasiquotes can't really replace this fully as you can't parse dynamically generated (i.e. non-constant) string with them.