This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Feature idea for gcc


On Saturday 30 November 2002 08:06 pm, Joseph S. Myers wrote:
>
> This particular proposal can be done with make and external preprocessors;
> no new compiler features at all are needed; just as literate programming
> for C is implemented through external tools (CWEB etc.) that output C
> rather than modifying the compiler.
>
Martin,
Now there is a strong idea for accomplishing your goal...
Base your external processor on one of the many "literate programming" 
processors - only extract the *.h rather than the entire source *.c
Perhaps even use a "java-doc" like structure if you prefer.

If you haven't looked much at various "literate programming" processors...
Start at the home page of the LaTeX project - LaTeX supports several dozen 
different versions of "literate programming" - check the LaTeX documentation 
for the references.

Mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]