Two sets of templates; one for converting variables to text forms, one for the inverse. See this topic (particularly my later posts) and the unittests for an idea of what it's useful for.
The current version is here. It needs a little bit of work to conform to the D style-guides and possibly a bit of documentation.
Please let me know whether you want to include this in scrapple and if so give me an idea of what changes it needs to fit the guidelines and more importantly be easy for others to use.
As mentioned in the linked post it's a bit specialised, but I've found some uses beside it's intended purpose.