[petsc-dev] Documentation comment support

Matthew Knepley knepley at gmail.com
Tue Jan 8 21:54:56 CST 2013


On Tue, Jan 8, 2013 at 9:50 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Tue, Jan 8, 2013 at 9:43 PM, Matthew Knepley <knepley at gmail.com> wrote:
>
>> Those wimps just call cpp instead of writing the preprocessor in Python
>> too (I did this). That means
>> you cannot regenerate properly.
>>
>
> Well, sort of. You have the original source around and you have the AST
> for what goes where. Preprocessing throws code transformation for a loop
> however you shake it. LLVM is a much heavier dependency and the Python
> interface is not as nice. Pick your poison.
>

I originally was forced into it to get typedefs, which have to be handled
by the preprocessor.

   Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130108/08cb96b2/attachment.html>


More information about the petsc-dev mailing list