DDoc and logically structured HTML

Paulo Pinto pjmlp at progtools.org
Sun Mar 11 10:17:26 PDT 2012


Am 11.03.2012 03:26, schrieb Kevin Cox:
>
> On Mar 10, 2012 8:10 PM, "Stewart Gordon" <smjg_1998 at yahoo.com
> <mailto:smjg_1998 at yahoo.com>> wrote>
>  > I don't know how far we can go short of a doclet system like JavaDoc
> has.  Nor even how exactly a doclet system would work under a language
> that compiles to native code....
>  >
>  > Stewart.
>
> I hate to say it but I think the ddoc system was way overthought.  It
> would be better to use a markup language such as Creole that is meant to
> look nice and you can convert that into anything you want.  You could
> leave the default html but provide an api for accessing a parsed tree.
>

This is a bit what Go does with the go packages (ast, doc, etc)
http://tip.golang.org/pkg/go/

--
Paulo


More information about the Digitalmars-d mailing list