develooper Front page | perl.perl6.internals | Postings from February 2001

Re: PDD for code comments ????

Thread Previous | Thread Next
From:
David L. Nicol
Date:
February 19, 2001 18:08
Subject:
Re: PDD for code comments ????
Message ID:
3A91D16F.DA20CA56@kasey.umkc.edu
Jarkko Hietaniemi wrote:

> Some sort of simple markup embedded within the C comments.  Hey, let's
> extend pod!  Hey, let's use XML!  Hey, let's use SGML!  Hey, let's use
> XHTML!  Hey, let's use lout!  Hey, ...

Either run pod through a pod puller before the C preprocessor gets to
the code, or figure out a set of macros that can quote and ignore pod.

The second is Yet Another Halting Problem so we go with the first?

Which means a little program to depod the source before building it,
or a -HASPOD extension to gcc

Or just getting in the habit of writing 

/*
=pod


and

=cut
*/



-- 
                      David Nicol 816.235.1187 dnicol@cstp.umkc.edu
          "Nothing in the definition of the word `word' says that a 
      word has to be in a dictionary to be called one." -- Anu Garg


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About