Re: Looking for simple C Preprocessor source

"Thomas Dickey" <dickey@Radix.Net>
15 Jul 2002 23:42:52 -0400

          From comp.compilers

Related articles
Looking for simple C Preprocessor source jmensch@home.com (Julian Mensch) (2002-06-20)
Re: Looking for simple C Preprocessor source Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (2002-06-28)
Re: Looking for simple C Preprocessor source remove@matematik.su.se (Hans Aberg) (2002-06-28)
Re: Looking for simple C Preprocessor source nmh@t3x.org (Nils M Holm) (2002-06-28)
Re: Looking for simple C Preprocessor source kratkin@yahoo.com (Niktar Lirik) (2002-06-28)
Re: Looking for simple C Preprocessor source parsersinc@yahoo.com (SLK Parsers) (2002-07-04)
Re: Looking for simple C Preprocessor source dickey@Radix.Net (Thomas Dickey) (2002-07-15)
Looking for simple C Preprocessor source Daniel.Dallmann@tesat.de (Dallmann Daniel \(TE/SM2\)) (2007-03-08)
| List of all articles for this month |

From: "Thomas Dickey" <dickey@Radix.Net>
Newsgroups: comp.compilers
Date: 15 Jul 2002 23:42:52 -0400
Organization: RadixNet Internet Services
References: 02-06-066 02-06-084
Keywords: C
Posted-Date: 15 Jul 2002 23:42:52 EDT

Nils M Holm <nmh@t3x.org> wrote:
> Julian Mensch <jmensch@home.com> wrote:
>> So I need to find the source code for a _simple_ C preprocessor,


> You may try the DECUS C preprocessor. IIRC, it supports only K&R C,
> but may be sufficient for your project. It is small and public domain.


> Try searching for "DECUS cpp" using your favorite web search
> engine. If you really should not find the sources, send me a message
> and I will search my own archives.


I used it on a project (don't recall exactly what). Note says that it's the
one from X11R5, modified to work on VMS. The notes appear to indicate that
it could handle expressions - which I recall was a feature missing from the
original (so it's something to keep in mind).


--
Thomas E. Dickey <dickey@radix.net> <dickey@herndon4.his.com>
http://dickey.his.com
ftp://dickey.his.com


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.