From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21913 invoked by alias); 21 Oct 2002 15:26:27 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21902 invoked from network); 21 Oct 2002 15:26:25 -0000 Received: from unknown (HELO citadel.stu.neva.ru) (194.85.96.34) by sources.redhat.com with SMTP; 21 Oct 2002 15:26:25 -0000 Received: by citadel.stu.neva.ru (Postfix, from userid 10) id 353D158092; Mon, 21 Oct 2002 19:26:18 +0400 (MSD) Received: by pulsepow.hop.stu.neva.ru (UUPC/@ v7.02, 26Apr98) id AA04928; Mon, 21 Oct 2002 19:04:01 +0400 (MSD) To: gcc@gcc.gnu.org Message-Id: Organization: STUSP From: "D. Adamian" Date: Mon, 21 Oct 2002 11:27:00 -0000 Subject: An ask for documentation of trees MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg01252.txt.bz2 I'm currently developing a front-end for a language. I've read in the docs that using RTL for interfacing front-end and the bulk of GCC is a Bad Thing. And that trees should be used for it. So the question is: what should be done in the front-end to use trees? The language is not much similar to C, so some new types of tree nodes should be defined and implemented. How is this done? Thanks in advance.