[C++-sig] Re: [Implementation] Calling wrapped functions, converters, policies
David Abrahams
dave at boost-consulting.com
Fri Sep 19 17:02:58 CEST 2003
Nicodemus <nicodemus at globalite.com.br> writes:
> Ralf W. Grosse-Kunstleve wrote:
>
>>There is another most wanted feature on my list: automatic integration of
>>documentation embedded in C++ code. I.e. I'd like to see my Doxygen
>>documentation appear merged with the Python documentation. It seems to me that
>>no amount of meta-programming wizardry will be able to do this. My current
>>state of mind is that gcc-xml/Pyste could potentially provide a solution.
>>Bruno, does gcc-xml preserve the comment blocks in C++ code? If not, could it
>>be made to?
>>
>
> Hi Ralf,
>
> It doesn't, and I believe it would be very hard for it to do it,
> because normally the comments are discarded during the syntax check,
> so the grammar would have to change to support that... but we should
> ask Brad King to know for sure.
The Synopsis (http://synopsis.sf.net) parser has access to enough
information to extract comments. On the other hand, if you get line
number information from GCC_XML, you could post-process the original
C++ source to find associated comments.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list