Related articles |
---|
tree interface to GNU CC Leon.Moonen@cwi.nl (1994-02-03) |
Newsgroups: | comp.compilers |
From: | Leon.Moonen@cwi.nl (Leon Moonen) |
Keywords: | GCC, question |
Organization: | CWI, Amsterdam |
Date: | Thu, 3 Feb 1994 12:22:47 GMT |
The GNU C Info says:
= People frequently have the idea of using RTL stored as text in a
= file as an interface between a language front end and the bulk of GNU
= CC. This idea is not feasible.
=
= GNU CC was designed to use RTL internally only. Correct RTL for a
= given program is very dependent on the particular target machine. And
= the RTL does not contain all the information about the program.
=
= The proper way to interface GNU CC to a new language front end is
= with the "tree" data structure. There is no manual for this data
= structure, but it is described in the files `tree.h' and `tree.def'.
Has anyone used this tree approach, is there some documentation on this
subject or can I get some examples of tools that work this way ?
-- Leon
==
Leon Moonen
email: leon@cwi.nl
(Leon.Moonen@cwi.nl)
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.