custom demangler

How can I hook a custom demangler in lldb (so that it correctly demangles D files for example)?

Ideally, I would provide a dynamic load library that contains an extern(C) function:
something like that: char* demangle(const charinput); void free_demangle(char)