Re: Source to Source Compiler?

grosch@cocolab.sub.com (Josef Grosch)
19 May 1996 18:27:13 -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: grosch@cocolab.sub.com (Josef Grosch)
Newsgroups: comp.compilers
Date: 19 May 1996 18:27:13 -0400
Organization: CoCoLab, Karlsruhe, Germany
References: 96-05-077
Keywords: tools, modula, C, translator

Christoph Niedermeier (Christoph.Niedermeier@zfe.siemens.de) wrote:
: We are intending to build a frontend compiler which translates ANSI C
: plus our own extensions to pure ANSI C.


We implemented a MODULA-2 to C translator with the Cocktail Toolbox. A
parsers builds an abstract syntax tree. The tree is used as base for a
partial semantic analysis which is necessary for the translation. At last
the tree is mapped to C source code. This approach worked quite well.


Josef Grosch


CoCoLab
Hagsfelder Allee 16
D-76131 Karlsruhe
Germany


Tel.: +49-721-697061
Fax : +49-721-661966
Mail: grosch@cocolab.sub.com


--


Post a followup to this message

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