D parser in tango or phobos

Knud Soerensen 4tuu4k002 at sneakemail.com
Wed Sep 3 06:51:47 PDT 2008


davidl wrote:
> 在 Tue, 02 Sep 2008 15:37:38 +0800,Knud Soerensen
> <4tuu4k002 at sneakemail.com> 写道:
> 
>> Hi
>>
>> When building tools for manipulating d code, you practical always need a
>> parser.
>>
>> So, why not include a d parser as part of the runtime library,
>> in that way the it is much easy to write code tools.
>>
>> dmd itself might even use the same parser, which
>> will insure that the parser support the latest version of d and it will
>> be a nice start for a incremental d compiler.
>>
>>
> 
> It's not easy to have a complete working bug free parser.
> dsource.org/projects/dparser
> 
I know this is why I made the suggestion.

The idea is that tool developer should have a stable platform
base his tool upon.

Such he doesn't have to patch the parser every time a new version of dmd
hits the web.


-- 
Crowdnews.eu - a social news site based on sharing instead of voting.
Follow me on CrowdNews http://crowdnews.eu/users/addGuide/42/



More information about the Digitalmars-d mailing list