[phobos] core.demangle replacing std.demangle?

Sean Kelly sean at invisibleduck.org
Sat Sep 25 06:42:17 PDT 2010


On Sep 25, 2010, at 12:49 AM, Rainer Schuetze wrote:

> Sean Kelly wrote:
>> I wasn't sure whether to fix std.demangle now that core.demangle works, or to replace/deprecate it.  At the time I just needed something in druntime and I didn't like how std.demangle did everything via string ops. What do you all think?
>> Sent from my iPhone
>> On Sep 10, 2010, at 1:12 AM, Lars Tandle Kyllingstad <lars at kyllingen.net> wrote:
>>> I've noticed that Sean has recently added the core.demangle module to
>>> druntime.  Does this mean we can deprecate std.demangle?  I've never
>>> used it myself, but I seem to remember people saying on the NG that it
>>> is pretty outdated.
>>> 
>>> -Lars
>>> 
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
> 
> I've attached a patch to fix a few issues of core.demangle here: http://d.puremagic.com/issues/show_bug.cgi?id=4852
> 
> This patch also includes a function to decompress symbols on windows.

You put the implementation in a struct?  Cheater :-)  That'll let me use actual overloading as well.  And put the function parsing routine outside the type parsing routine.


More information about the phobos mailing list