pragma(mangle)

David Nadlinger see at klickverbot.at
Sun Jun 12 12:46:04 PDT 2011


On 6/12/11 9:21 PM, Andrej Mitrovic wrote:
> If you take a diff of DMD's parse.c and DDMD's parser.d, you'll see
> that they're almost identical. So yeah, I think what DDMD devs
> probably do is take a diff of two DMD versions and then manually
> upgrade DDMD's frontend to match. I don't think it's way too much work
> (I'm just assuming though), simple C++ code tends to translate nicely
> into D and I think DMD's C++ sources are nice and readable.

ddmd is obviously a different story, but just merging the commits 
one-by-one manually has worked quite well for me when doing LDC frontend 
updates. Merging a whole release worth of changes at once might be more 
efficient, but I found it a lot more difficult to reason about the 
changes that way.

David


More information about the Digitalmars-d mailing list