From karltk@prosalg.no Tue Dec 24 08:26:06 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18Qp4P-00065E-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 08:26:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18Qp40-0005r0-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 08:25:41 -0500
Received: from janus.prosalg.no ([213.236.139.1] helo=storm.boblycat.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18Qp3m-0005YH-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 08:25:26 -0500
Received: from janus.prosalg.no ([213.236.139.1] helo=io)
	by storm.boblycat.org with smtp (Exim 4.04)
	id 18Qp4v-0007O1-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 14:26:37 +0100
Date: Tue, 24 Dec 2002 14:25:30 +0100
From: Karl Trygve Kalleberg <karltk@prosalg.no>
To: codeboost-dev@nongnu.org
Message-Id: <20021224142530.6a15b5aa.karltk@prosalg.no>
X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: [Codeboost-dev] Parsetree inconsistencies
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Dec 2002 13:26:06 -0000


Hi.

Doing codeboost -P foo.C doesn't give me the same tree as making a
strategy with doit = debug. Is this deliberate ?

I noticed in particular that some template terms are rewritten later on in
the pipeline stages.



Kind regards,

Karl T

PS. As this list is probably archived, it makes sense to have the
discussion proceed in English ;)


From otto@ottosb.org Tue Dec 24 21:26:37 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18R1Fk-0001lY-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 21:26:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18R1Fi-0001lN-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 21:26:36 -0500
Received: from egwene.ottosb.org ([217.13.10.138])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18R1Fh-0001jt-00
	for codeboost-dev@nongnu.org; Tue, 24 Dec 2002 21:26:33 -0500
Received: from aviendha.ottosb.org (aviendha.ottosb.org [192.168.50.2])
	by egwene.ottosb.org (Postfix) with ESMTP id EE2F42647
	for <codeboost-dev@nongnu.org>; Wed, 25 Dec 2002 03:26:30 +0100 (CET)
Received: from otto by aviendha.ottosb.org with local (Exim 3.36 #1 (Debian))
	id 18R1Fd-00046M-00
	for <codeboost-dev@nongnu.org>; Wed, 25 Dec 2002 03:26:29 +0100
To: codeboost-dev@nongnu.org
Subject: Re: [Codeboost-dev] Parsetree inconsistencies
References: <20021224142530.6a15b5aa.karltk@prosalg.no>
Organization: ottosb.org
From: Otto Skrove Bagge <otto@ottosb.org>
Date: 25 Dec 2002 03:26:29 +0100
In-Reply-To: <20021224142530.6a15b5aa.karltk@prosalg.no>
Message-ID: <87wulyhm0a.fsf@aviendha.ottosb.org>
Lines: 20
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Otto Skrove Bagge <otto@ottosb.org>
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 25 Dec 2002 02:26:37 -0000

Karl Trygve Kalleberg <karltk@prosalg.no> writes:

> Hi.
> 
> Doing codeboost -P foo.C doesn't give me the same tree as making a
> strategy with doit = debug. Is this deliberate ?
> 
> I noticed in particular that some template terms are rewritten later on in
> the pipeline stages.

I'm not exactly sure what you mean...  Modifications to the tree are done
in various stages in the parsing and semantic analysis parts of the
pipeline.  All modules will also now add their name, CVS id and arglist to
the AST header.

(As you probably know, you can see what codeboost is doing by running
'codeboost -v ...'.  This could help you identify the difference between
doing 'codeboost -P' and whatever else you're trying to do...)

-otto


