json and ddoc

Philippe Sigaud philippe.sigaud at gmail.com
Wed Aug 1 10:40:03 PDT 2012


On Wed, Aug 1, 2012 at 4:46 PM, Adam D. Ruppe <destructionator at gmail.com> wrote:
> On Wednesday, 1 August 2012 at 14:36:26 UTC, Philippe Sigaud wrote:
>>
>> Well, the comments are discarded as soon as lexical analysis is done, I
>> guess.
>
>
> They are actually there if you do both -X and -D together.
> (-X alone doesn't show it; it must be discarded then, but
> -D keeps it).

Ah, dammit. I was at work far from a D compiler. I never used -X *and*
-D at the same time.

>
> The problem is though that it is the text from the comment
> without any organization or macro expansion.

OK.

>> This generator does not give much information btw, but
>> my impression is that people do not use it that much and,
>> consequently, no feature request is emitted.
>
>
> Yeah. It isn't bad though; more detailed than dpldocs.info
> version 1.0 which did nothing more than grep '<a name' in
> the generated html!

No no no, I wasn't talking about your app! dpldocs is cool!
I was talking about the json generator in DMD, which, to my eyes, does
not give enough information yet to be truly useful.


More information about the Digitalmars-d mailing list