Getting started with D - Phobos documentation sucks

Jacob Carlborg doob at me.com
Sun Sep 30 10:24:36 PDT 2012


On 2012-09-30 17:37, Adam D. Ruppe wrote:
> On Sunday, 30 September 2012 at 15:31:30 UTC, Jacob Carlborg wrote:
>> And we're back at the fact that we need a compiler library.
>
> Not necessarily... the ddoc comments are available in the compiler's
> json output (use -X and -D together in dmd). It doesn't do syntax
> highlighting and could offer a lot more info than it does now... but it
> does give enough to approximate your own ddoc.
>
> I'm using the json output for dpldocs.info version two:
> http://dpldocs.info/search/search?searchTerm=std.regex

If think the whole idea of the JSON output is a workaround for not 
having the compiler available as a library.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list