On Sunday, 3 February 2013 at 00:37:55 UTC, David Nadlinger wrote:
1) Provide an Open Source clean-room implementation of
response_expand, the function the DMD frontend uses to parse
response files. Unfortunately, it is under the copyright
belongs (partly?) to Symantec, so Walter can't simply
re-license it for use in GDC/LDC, where it is needed to provide
DMD compatibility (gdmd/ldmd). For the full discussion, see:
http://forum.dlang.org/thread/kdce69%24303k%[email protected]
DMD response files use the same escaping syntax as the
CommandLineToArgvW function.
Here is how rdmd constructs the file:
https://github.com/D-Programming-Language/tools/blob/master/rdmd.d#L367
I had looked at the DMD code, although it was a while ago and
today I honestly couldn't say anything specific about it today.
That's probably still not good enough for a clean-room
reimplementation, though.