Want to help D compiler development: Two possible weekend projects
Vladimir Panteleev
vladimir at thecybershadow.net
Tue Feb 26 16:50:38 PST 2013
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%241@digitalmars.com
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.
More information about the Digitalmars-d
mailing list