Want to help DMD bugfixing? Write a simple utility.

Regan Heath regan at netmail.co.nz
Wed Mar 23 08:46:21 PDT 2011


On Wed, 23 Mar 2011 15:16:46 -0000, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:
>> I was just thinking .. if we get a list of the symbols the linker is
>> including, then write an app to take that list, and strip everything  
>> else
>> out of the source .. would that work.  The Q's are how hard is it to get
>> the symbols from the linker and then how hard is it to match those to
>> source.  IIRC there are functions in phobos to convert to/from symbol
>> names, so if the app had sufficient lexing and parsing capability it  
>> could
>> match on those.
>
> That would require a full-blown D lexer and parser.
>
> - Jonathan M Davis

Yeah, I thought as much.  I wonder if the new guy "Ilya" who just posted  
on digitalmars.D would find this interesting..

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d-learn mailing list