Source to Source Compiler?

Christoph.Niedermeier@zfe.siemens.de (Christoph Niedermeier)
10 May 1996 01:44:00 -0400

          From comp.compilers

Related articles
Source to Source Compiler? Christoph.Niedermeier@zfe.siemens.de (1996-05-10)
Re: Source to Source Compiler? derek@knosof.co.uk (Derek M Jones) (1996-05-13)
Re: Source to Source Compiler? mac@coos.dartmouth.edu (1996-05-13)
Re: Source to Source Compiler? pdonovan@netcom.com (1996-05-14)
Re: Source to Source Compiler? kalle@poet.de (Dr. Karl Prott) (1996-05-14)
Re: Source to Source Compiler? ndc@icanect.net (Norman Culver) (1996-05-19)
Re: Source to Source Compiler? grosch@cocolab.sub.com (1996-05-19)
| List of all articles for this month |
From: Christoph.Niedermeier@zfe.siemens.de (Christoph Niedermeier)
Newsgroups: comp.compilers
Date: 10 May 1996 01:44:00 -0400
Organization: Compilers Central
Keywords: translator, question

We are intending to build a frontend compiler which translates ANSI C
plus our own extensions to pure ANSI C. Our idea is to use the sources
of the GNU C-Compiler and modify them such that C code is produced
instead of assembler code.


Is there anyone who has done such a job and can give advice? Maybe
there is even some modified gcc frontend or other software serving
this purpose ?


Thanks in advance


Chris


--
| Christoph Niedermeier -- Siemens AG -- ZFE T ME 2 |
| Otto-Hahn-Ring 6 -- D-81730 Muenchen -- Germany |
| phone: ++49-89/636-45783, fax: ++49-89/636-41442 |
| email: Christoph.Niedermeier@zfe.siemens.de |
[I'd think GCC a very poor choice, since it quickly decontructs the input
C code into much lower level stuff. When I've done this sort of thing in
the past, I usually made the extensions lexically easy to recognize using
special brackets or keywords, and passed everything else through without
looking at it. -John]


--


Post a followup to this message

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