On 2015-01-11 20:20, Walter Bright wrote:

Ddoc makes use of semantic info, not just an AST. For semantic info, you
pretty much need a real compiler.

I've been thinking of that the last couple of days. It should be pretty straightforward to copy-paste the driver part of DMD, i.e the part contains the main function and handling of the command line arguments. Then remove everything that's not needed for Ddoc.

--
/Jacob Carlborg

Reply via email to