From MAILER-DAEMON Tue Feb 03 11:47:56 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1Ao3hk-00073V-5l
	for mharc-codeboost-dev@gnu.org; Tue, 03 Feb 2004 11:47:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1Ao3hN-0006mw-76
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 11:46:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1Ao3fJ-0005hg-2J
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 11:45:16 -0500
Received: from [66.218.93.21] (helo=web41105.mail.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1Ao3eZ-0005KA-9N
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 11:43:59 -0500
Message-ID: <20040203164357.77472.qmail@web41105.mail.yahoo.com>
Received: from [64.171.5.22] by web41105.mail.yahoo.com via HTTP;
	Tue, 03 Feb 2004 08:43:57 PST
Date: Tue, 3 Feb 2004 08:43:57 -0800 (PST)
From: Shishir Ramam <sramam@yahoo.com>
To: codeboost-dev@nongnu.org
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-2084165006-1075826637=:76508"
Subject: [Codeboost-dev] Make check fails...
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2004 16:47:14 -0000

--0-2084165006-1075826637=:76508
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Folks,

codeboost from the cvs, is running into trouble 
on `make check`. 

Looks like the comparison between 
the .ast & .out files fails. 

Specifically, in src/parser/tests, 
dtors.cc & varinit.cc fail the test. 

I am starting to look to see if i can 
decipher the difference, but if someone
on the list has an easier read of the problem,
I'd appreciate help.

my setup: 
cygwin 1.5.6/winxp
aterm 2.0.5
sdf-bundle 1.6 
stratego 0.9.4 
opencxx 2.7 (I have patched this. seems to behave like
the original. The patch is pending an admin approval
on this list). 
codeboost - cvs version. 

Attached at files dtors-parse.out & dtors-parse.ast.

thanks,
-shishir


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
--0-2084165006-1075826637=:76508
Content-Type: text/plain; name="dtors-parse.ast.txt"
Content-Description: dtors-parse.ast.txt
Content-Disposition: inline; filename="dtors-parse.ast.txt"

Program([CodeBoost,Version("0.2.1-rc1"),AstVerMajor(1),AstVerMinor(0)],[ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,DNil)),[],NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(NoQual,DNil))),[],NoExpr)]),Type([],IdName("int"),Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("54")))]),Decl(ClsDecl(IdName("dtor"),[],[],Block([ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("num"),DType(DNil),[],NoExpr)]),Access(Public),Decl(FunDecl(IdName("dtor"),ArgList([VarDecl(IdName("x"),Type([],IdName("int"),DNil),[],NoExpr)]),NoType,[],NoQual,CInitList([CInit(IdName("num"),[Var(IdName("x"),AnyType,NoScope)])]),Block([])),NoSig),NoDecl,Decl(FunDecl(IdName("f"),ArgList([VarDecl(IdName("x"),Type([],IdName("int"),DNil),[],NoExpr)]),Type([],IdName("int"),DNil),[],CQual,NoCInit,Block([Return(Infix(Op("*",AnyFun),Var(IdName("num"),AnyType,NoScope),Var(IdName("x"),AnyType,NoScope)))])),NoSig)])),NoSig)],[Table("extensions",[])])

--0-2084165006-1075826637=:76508
Content-Type: text/plain; name="dtors-parse.out.txt"
Content-Description: dtors-parse.out.txt
Content-Disposition: inline; filename="dtors-parse.out.txt"

Program([CodeBoost,Version("0.2.3-dev"),AstVerMajor(1),AstVerMinor(2),Trace([("$Id: cpp-check.r,v 1.27 2003/04/07 14:01:50 ottosb Exp $",["../../../src/sig/cpp-check"]),("$Id: cst2ast.r,v 1.11 2003/03/06 19:07:28 ottosb Exp $",["../../../src/parser/cst2ast"])])],[ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,DNil)),[],NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(NoQual,DNil))),[],NoExpr)]),Type([],IdName("int"),Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("54")))]),NoDecl],[Table("extensions",[])])

--0-2084165006-1075826637=:76508--



From MAILER-DAEMON Tue Feb 03 12:25:57 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1Ao4JB-0003e6-8t
	for mharc-codeboost-dev@gnu.org; Tue, 03 Feb 2004 12:25:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1Ao4IG-0003LV-V2
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 12:25:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1Ao4Hi-00038a-AV
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 12:24:58 -0500
Received: from [131.211.82.20] (helo=mail.students.cs.uu.nl)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ao4Hh-00038G-JS
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 12:24:25 -0500
Received: from cs.uu.nl (madras.labs.cs.uu.nl [131.211.84.86])
	by mail.students.cs.uu.nl (Postfix) with ESMTP id EA7491AF93D
	for <codeboost-dev@nongnu.org>; Tue,  3 Feb 2004 18:24:23 +0100 (CET)
Message-ID: <401FD9AB.30206@cs.uu.nl>
Date: Tue, 03 Feb 2004 18:26:03 +0100
From: Arthur van Dam <adam@cs.uu.nl>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030917
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: codeboost-dev@nongnu.org
Subject: Re: [Codeboost-dev] Make check fails...
References: <20040203164357.77472.qmail@web41105.mail.yahoo.com>
In-Reply-To: <20040203164357.77472.qmail@web41105.mail.yahoo.com>
Content-Type: multipart/mixed; boundary="------------090406010402010606010406"
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2004 17:25:05 -0000

This is a multi-part message in MIME format.
--------------090406010402010606010406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi all,

Attached is the result of
[adam@madras:~/tmp]$ pp-aterm -i dtors-parse.ast.txt >dtors-parse.ast.txt=
=2Epp
[adam@madras:~/tmp]$ pp-aterm -i dtors-parse.out.txt >dtors-parse.out.txt=
=2Epp
[adam@madras:~/tmp]$ diff dtors-parse.ast.txt.pp dtors-parse.out.txt.pp=20
 > dtors-parse.diff.pp

The first Version Info list is of course no real problem. But the=20
missing declaration that appears as a NoDecl in your .out file might be.
Otto probably knows :)

p.s. Shishir, did you need any additional hacks before you got=20
CodeBoost-0.2.3-dev compiling and running?

-- Arthur



Shishir Ramam wrote:

>Folks,
>
>codeboost from the cvs, is running into trouble=20
>on `make check`.=20
>
>Looks like the comparison between=20
>the .ast & .out files fails.=20
>
>Specifically, in src/parser/tests,=20
>dtors.cc & varinit.cc fail the test.=20
>
>I am starting to look to see if i can=20
>decipher the difference, but if someone
>on the list has an easier read of the problem,
>I'd appreciate help.
>
>my setup:=20
>cygwin 1.5.6/winxp
>aterm 2.0.5
>sdf-bundle 1.6=20
>stratego 0.9.4=20
>opencxx 2.7 (I have patched this. seems to behave like
>the original. The patch is pending an admin approval
>on this list).=20
>codeboost - cvs version.=20
>
>Attached at files dtors-parse.out & dtors-parse.ast.
>
>thanks,
>-shishir
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>http://webhosting.yahoo.com/ps/sb/
>
>------------------------------------------------------------------------=

>
>Program([CodeBoost,Version("0.2.1-rc1"),AstVerMajor(1),AstVerMinor(0)],[=
ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil),[]=
,NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref"),DTy=
pe(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDecl([]=
,TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[=
],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptrptr")=
,DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TType([],Id=
Name("int")),[VarDecl(IdName("array"),DType(Array(Literal(Integer("4")),D=
Nil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal(Integer("=
54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun=
"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,DNil)),[],NoE=
xpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[],NoE=
xpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(NoQual,D=
Nil))),[],NoExpr)]),Type([],IdName("int"),
> Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([]=
,IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("5=
4")))]),Decl(ClsDecl(IdName("dtor"),[],[],Block([ManyDecl([],TType([],IdN=
ame("int")),[VarDecl(IdName("num"),DType(DNil),[],NoExpr)]),Access(Public=
),Decl(FunDecl(IdName("dtor"),ArgList([VarDecl(IdName("x"),Type([],IdName=
("int"),DNil),[],NoExpr)]),NoType,[],NoQual,CInitList([CInit(IdName("num"=
),[Var(IdName("x"),AnyType,NoScope)])]),Block([])),NoSig),NoDecl,Decl(Fun=
Decl(IdName("f"),ArgList([VarDecl(IdName("x"),Type([],IdName("int"),DNil)=
,[],NoExpr)]),Type([],IdName("int"),DNil),[],CQual,NoCInit,Block([Return(=
Infix(Op("*",AnyFun),Var(IdName("num"),AnyType,NoScope),Var(IdName("x"),A=
nyType,NoScope)))])),NoSig)])),NoSig)],[Table("extensions",[])])
> =20
>
>------------------------------------------------------------------------=

>
>Program([CodeBoost,Version("0.2.3-dev"),AstVerMajor(1),AstVerMinor(2),Tr=
ace([("$Id: cpp-check.r,v 1.27 2003/04/07 14:01:50 ottosb Exp $",["../../=
=2E./src/sig/cpp-check"]),("$Id: cst2ast.r,v 1.11 2003/03/06 19:07:28 ott=
osb Exp $",["../../../src/parser/cst2ast"])])],[ManyDecl([],TType([],IdNa=
me("int")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TT=
ype([],IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],V=
ar(IdName("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),=
[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],T=
Type([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQ=
ual,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdN=
ame("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(=
IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil))),=
[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoNam=
e,Type([],IdName("int"),Ptr(NoQual,DNil)),[]
> ,NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),=
[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(No=
Qual,DNil))),[],NoExpr)]),Type([],IdName("int"),Ref(NoQual,DNil)),[],NoQu=
al,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(Id=
Name("init"),DType(DNil),[],Literal(Integer("54")))]),NoDecl],[Table("ext=
ensions",[])])
> =20
>
>------------------------------------------------------------------------=

>
>_______________________________________________
>Codeboost-dev mailing list
>Codeboost-dev@nongnu.org
>http://mail.nongnu.org/mailman/listinfo/codeboost-dev
> =20
>


--------------090406010402010606010406
Content-Type: text/plain;
 name="dtors-parse.diff.pp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dtors-parse.diff.pp"

2c2,9
<   [CodeBoost, Version("0.2.1-rc1"), AstVerMajor(1), AstVerMinor(0)]
---
>   [ CodeBoost
>   , Version("0.2.3-dev")
>   , AstVerMajor(1)
>   , AstVerMinor(2)
>   , Trace(
>       [("$Id: cpp-check.r,v 1.27 2003/04/07 14:01:50 ottosb Exp $", ["../../../src/sig/cpp-check"]), ("$Id: cst2ast.r,v 1.11 2003/03/06 19:07:28 ottosb Exp $", ["../../../src/parser/cst2ast"])]
>     )
>   ]
103,174c110
<   , Decl(
<       ClsDecl(
<         IdName("dtor")
<       , []
<       , []
<       , Block(
<           [ ManyDecl(
<               []
<             , TType([], IdName("int"))
<             , [VarDecl(IdName("num"), DType(DNil), [], NoExpr)]
<             )
<           , Access(Public)
<           , Decl(
<               FunDecl(
<                 IdName("dtor")
<               , ArgList(
<                   [ VarDecl(
<                       IdName("x")
<                     , Type([], IdName("int"), DNil)
<                     , []
<                     , NoExpr
<                     )
<                   ]
<                 )
<               , NoType
<               , []
<               , NoQual
<               , CInitList(
<                   [CInit(
<                      IdName("num")
<                    , [Var(IdName("x"), AnyType, NoScope)]
<                    )]
<                 )
<               , Block([])
<               )
<             , NoSig
<             )
<           , NoDecl
<           , Decl(
<               FunDecl(
<                 IdName("f")
<               , ArgList(
<                   [ VarDecl(
<                       IdName("x")
<                     , Type([], IdName("int"), DNil)
<                     , []
<                     , NoExpr
<                     )
<                   ]
<                 )
<               , Type([], IdName("int"), DNil)
<               , []
<               , CQual
<               , NoCInit
<               , Block(
<                   [ Return(
<                       Infix(
<                         Op("*", AnyFun)
<                       , Var(IdName("num"), AnyType, NoScope)
<                       , Var(IdName("x"), AnyType, NoScope)
<                       )
<                     )
<                   ]
<                 )
<               )
<             , NoSig
<             )
<           ]
<         )
<       )
<     , NoSig
<     )
---
>   , NoDecl

--------------090406010402010606010406--




From MAILER-DAEMON Tue Feb 03 13:52:16 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1Ao5e6-000833-Cg
	for mharc-codeboost-dev@gnu.org; Tue, 03 Feb 2004 13:51:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1Ao5dg-0007tL-O8
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 13:51:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1Ao5cw-0007Td-P6
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 13:50:58 -0500
Received: from [66.218.93.27] (helo=web41111.mail.yahoo.com)
	by monty-python.gnu.org with smtp (Exim 4.24) id 1Ao5cv-0007SQ-Vg
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 13:50:26 -0500
Message-ID: <20040203185024.77306.qmail@web41111.mail.yahoo.com>
Received: from [12.146.158.76] by web41111.mail.yahoo.com via HTTP;
	Tue, 03 Feb 2004 10:50:24 PST
Date: Tue, 3 Feb 2004 10:50:24 -0800 (PST)
From: Shishir Ramam <sramam@yahoo.com>
Subject: Re: [Codeboost-dev] Make check fails...
To: Arthur van Dam <adam@cs.uu.nl>
In-Reply-To: <401FD9AB.30206@cs.uu.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: codeboost-dev@nongnu.org
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2004 18:51:35 -0000

Arthur,

In src/pretty/abox2text.r modified `import abox` to 
`import abox-ext`. 

Apart from that, I had to copy over some autotools
configuration files. After a bit of struggling, 
landed up copying a acconf.m4 from xml-tools. 
The others were the scripts `missing`,
`mkinstalldirs`. 
and a few others. 

The full details (including a shell script to get
this going) is pending admin approval. Will logs and
stuff, this got to being over the 40k limit.
This evening, I'll split them up and post the hacks 
to make codeboost compile. 

Also, I have ported the patch to opencxx2.7. 
Is there any interest? Will be posting it too anyway. 

pp-aterm! And i did this *by hand* to figure the
difference! Is there any place with documentation 
for the rich set of functionality that is obviously
there. Just not obvious to the novice. 
I'll try and keep a track of my learning experience,
but can use help. 

Is there any other documentation for codeboost proper?
The only thing I am going by are Otto's & Karl's
theses. But these lack implementation details. 
Couldn't find any others. 

thanks,
-shishir


--- Arthur van Dam <adam@cs.uu.nl> wrote:
> Hi all,
> 
> Attached is the result of
> [adam@madras:~/tmp]$ pp-aterm -i dtors-parse.ast.txt
> >dtors-parse.ast.txt.pp
> [adam@madras:~/tmp]$ pp-aterm -i dtors-parse.out.txt
> >dtors-parse.out.txt.pp
> [adam@madras:~/tmp]$ diff dtors-parse.ast.txt.pp
> dtors-parse.out.txt.pp 
>  > dtors-parse.diff.pp
> 
> The first Version Info list is of course no real
> problem. But the 
> missing declaration that appears as a NoDecl in your
> .out file might be.
> Otto probably knows :)
> 
> p.s. Shishir, did you need any additional hacks
> before you got 
> CodeBoost-0.2.3-dev compiling and running?
> 
> -- Arthur
> 
> 
> 
> Shishir Ramam wrote:
> 
> >Folks,
> >
> >codeboost from the cvs, is running into trouble 
> >on `make check`. 
> >
> >Looks like the comparison between 
> >the .ast & .out files fails. 
> >
> >Specifically, in src/parser/tests, 
> >dtors.cc & varinit.cc fail the test. 
> >
> >I am starting to look to see if i can 
> >decipher the difference, but if someone
> >on the list has an easier read of the problem,
> >I'd appreciate help.
> >
> >my setup: 
> >cygwin 1.5.6/winxp
> >aterm 2.0.5
> >sdf-bundle 1.6 
> >stratego 0.9.4 
> >opencxx 2.7 (I have patched this. seems to behave
> like
> >the original. The patch is pending an admin
> approval
> >on this list). 
> >codeboost - cvs version. 
> >
> >Attached at files dtors-parse.out &
> dtors-parse.ast.
> >
> >thanks,
> >-shishir
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free web site building tool.
> Try it!
> >http://webhosting.yahoo.com/ps/sb/
> >
>
>------------------------------------------------------------------------
> >
>
>Program([CodeBoost,Version("0.2.1-rc1"),AstVerMajor(1),AstVerMinor(0)],[ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,DNil)),[],NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(NoQual,DNil))),[],NoExpr)]),Type([],IdName("int"),
> >
>
Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("54")))]),Decl(ClsDecl(IdName("dtor"),[],[],Block([ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("num"),DType(DNil),[],NoExpr)]),Access(Public),Decl(FunDecl(IdName("dtor"),ArgList([VarDecl(IdName("x"),Type([],IdName("int"),DNil),[],NoExpr)]),NoType,[],NoQual,CInitList([CInit(IdName("num"),[Var(IdName("x"),AnyType,NoScope)])]),Block([])),NoSig),NoDecl,Decl(FunDecl(IdName("f"),ArgList([VarDecl(IdName("x"),Type([],IdName("int"),DNil),[],NoExpr)]),Type([],IdName("int"),DNil),[],CQual,NoCInit,Block([Return(Infix(Op("*",AnyFun),Var(IdName("num"),AnyType,NoScope),Var(IdName("x"),AnyType,NoScope)))])),NoSig)])),NoSig)],[Table("extensions",[])])
> >  
> >
>
>------------------------------------------------------------------------
> >
>
>Program([CodeBoost,Version("0.2.3-dev"),AstVerMajor(1),AstVerMinor(2),Trace([("$Id:
> cpp-check.r,v 1.27 2003/04/07 14:01:50 ottosb Exp
> $",["../../../src/sig/cpp-check"]),("$Id:
> cst2ast.r,v 1.11 2003/03/06 19:07:28 ottosb Exp
>
$",["../../../src/parser/cst2ast"])])],[ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,DNil)),[]
> >
>
,NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(NoQual,DNil))),[],NoExpr)]),Type([],IdName("int"),Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("54")))]),NoDecl],[Table("extensions",[])])
> >  
> >
>
>------------------------------------------------------------------------
> >
> >_______________________________________________
> >Codeboost-dev mailing list
> >Codeboost-dev@nongnu.org
>
>http://mail.nongnu.org/mailman/listinfo/codeboost-dev
> >  
> >
> 
> > 2c2,9
> <   [CodeBoost, Version("0.2.1-rc1"),
> AstVerMajor(1), AstVerMinor(0)]
> ---
> >   [ CodeBoost
> >   , Version("0.2.3-dev")
> >   , AstVerMajor(1)
> >   , AstVerMinor(2)
> >   , Trace(
> >       [("$Id: cpp-check.r,v 1.27 2003/04/07
> 14:01:50 ottosb Exp $",
> ["../../../src/sig/cpp-check"]), ("$Id: cst2ast.r,v
> 1.11 2003/03/06 19:07:28 ottosb Exp $",
> ["../../../src/parser/cst2ast"])]
> >     )
> >   ]
> 103,174c110
> <   , Decl(
> <       ClsDecl(
> <         IdName("dtor")
> <       , []
> <       , []
> <       , Block(
> <           [ ManyDecl(
> <               []
> <             , TType([], IdName("int"))
> <             , [VarDecl(IdName("num"), DType(DNil),
> [], NoExpr)]
> <             )
> <           , Access(Public)
> <           , Decl(
> <               FunDecl(
> <                 IdName("dtor")
> <               , ArgList(
> <                   [ VarDecl(
> <                       IdName("x")
> <                     , Type([], IdName("int"),
> DNil)
> <                     , []
> <                     , NoExpr
> <                     )
> <                   ]
> <                 )
> <               , NoType
> <               , []
> <               , NoQual
> <               , CInitList(
> <                   [CInit(
> <                      IdName("num")
> <                    , [Var(IdName("x"), AnyType,
> NoScope)]
> <                    )]
> <                 )
> <               , Block([])
> <               )
> <             , NoSig
> <             )
> <           , NoDecl
> <           , Decl(
> <               FunDecl(
> <                 IdName("f")
> <               , ArgList(
> <                   [ VarDecl(
> <                       IdName("x")
> <                     , Type([], IdName("int"),
> DNil)
> <                     , []
> <                     , NoExpr
> <                     )
> <                   ]
> <                 )
> <               , Type([], IdName("int"), DNil)
> <               , []
> <               , CQual
> <               , NoCInit
> <               , Block(
> <                   [ Return(
> <                       Infix(
> <                         Op("*", AnyFun)
> <                       , Var(IdName("num"),
> AnyType, NoScope)
> <                       , Var(IdName("x"), AnyType,
> NoScope)
> <                       )
> <                     )
> <                   ]
> <                 )
> <               )
> <             , NoSig
> <             )
> <           ]
> <         )
> <       )
> <     , NoSig
> <     )
> ---
> >   , NoDecl
> > _______________________________________________
> Codeboost-dev mailing list
> Codeboost-dev@nongnu.org
>
http://mail.nongnu.org/mailman/listinfo/codeboost-dev
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



From MAILER-DAEMON Tue Feb 03 14:32:43 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1Ao6Hq-0008Jx-Ag
	for mharc-codeboost-dev@gnu.org; Tue, 03 Feb 2004 14:32:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1Ao6Hi-0008Am-Nd
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 14:32:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1Ao6HA-0007n9-A8
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 14:32:31 -0500
Received: from [213.236.139.11] (helo=pluto.prosalg.no)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ao6EN-0006gZ-Fn
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 14:29:07 -0500
Received: from localhost (karltk@localhost)
	by pluto.prosalg.no (8.9.3/8.8.5) with SMTP id UAA13795;
	Tue, 3 Feb 2004 20:26:34 +0100
Date: Tue, 3 Feb 2004 20:26:34 +0100 (MET)
From: Karl Trygve Kalleberg <karltk@prosalg.no>
To: Shishir Ramam <sramam@yahoo.com>
Subject: Re: [Codeboost-dev] Make check fails...
In-Reply-To: <20040203185024.77306.qmail@web41111.mail.yahoo.com>
Message-ID: <Pine.LNX.3.96.1040203202237.14499P-100000@pluto.prosalg.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: codeboost-dev@nongnu.org
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: Karl Trygve Kalleberg <karltk@ii.uib.no>
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Feb 2004 19:32:39 -0000



On Tue, 3 Feb 2004, Shishir Ramam wrote:

> Also, I have ported the patch to opencxx2.7. 
> Is there any interest? Will be posting it too anyway. 

Yes, there is:)

> Is there any other documentation for codeboost proper?

Unless Otto has written some very recently, there is none. Writing a
rudimentary installation guide should be quick. I'll see if I can't get
that done during the weekend.

We will most likely be packaging codeboost for the major linux
distributions (debian, rpm-based, gentoo), _with_ dependencies in the
not-so-distant future (I already have it packaged for Gentoo;). 


Kind regards,

Karl T





From MAILER-DAEMON Tue Feb 03 19:22:33 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AoAoL-0001P3-1C
	for mharc-codeboost-dev@gnu.org; Tue, 03 Feb 2004 19:22:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AoAoF-0001OX-Kp
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 19:22:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AoAnh-000112-R6
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 19:22:25 -0500
Received: from [217.13.10.138] (helo=egwene.ottosb.org)
	by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.24)
	id 1AoAng-0000z2-N9
	for codeboost-dev@nongnu.org; Tue, 03 Feb 2004 19:21:53 -0500
Received: from aviendha.ottosb.org ([192.168.50.2] ident=mail)
	by arwen.ottosb.org with esmtp (Exim 4.30) id 1AoAnd-0005Q0-DB
	for codeboost-dev@nongnu.org; Wed, 04 Feb 2004 01:21:49 +0100
Received: from otto by aviendha.ottosb.org with local (Exim 3.36 #1 (Debian))
	id 1AoAnc-0006ap-00
	for <codeboost-dev@nongnu.org>; Wed, 04 Feb 2004 01:21:48 +0100
To: codeboost-dev@nongnu.org
Subject: Re: [Codeboost-dev] Make check fails...
References: <20040203185024.77306.qmail@web41111.mail.yahoo.com>
From: Otto Skrove Bagge <otto@ottosb.org>
Organization: ottosb.org
Date: Wed, 04 Feb 2004 01:21:48 +0100
In-Reply-To: <20040203185024.77306.qmail@web41111.mail.yahoo.com> (Shishir
	Ramam's message of "Tue, 3 Feb 2004 10:50:24 -0800 (PST)")
Message-ID: <87ptcvhexv.fsf@aviendha.ottosb.org>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Feb 2004 00:22:30 -0000

Hi, Shishir,

I haven't had time to look at your problems yet, but I was planning to do
some work this week or next trying out Stratego 9.4, so I may be able to help
you then.

Note that any trouble you might have with 'make check' could be due to bugs
in the code from CVS -- I'm a bit unsure about the state of the CVS HEAD;
I've been working on my own branch since last spring (well, actually I've
hardly done any programming this past half year).

If your main interest is simply learning Stratego, it might be a better
idea for you to look at some of the other projects (such as the Tiger
compiler, for instance).  CodeBoost contains a lot of old code (some of it
dates all the way back to the originial Stratego 0.2 release...), and the
Stratego language has evolved quite a lot of the past years, so the coding
style and techniques used is a bit outdated; many things could be done more
elegantly using the new features available in newer Stratego versions.
CodeBoost is also quite large and complicated (as is C++...).

But please, feel free to look at CodeBoost anyway, particularly if you're
interested is in (domain-specific) optimisation and/or C++
transformations.  I'll try to answer your questions as best I can, but I
haven't been using CodeBoost for a while, so it might take me some time to
get up to speed.  I plan on doing more CodeBoost work this winter/spring --
I'm developing CodeBoost as part of my PhD project (as is Karl Trygve), so
I'm stuck with it for another three years...

Anyway, here's answers for a few of your questions:

Shishir Ramam <sramam@yahoo.com> writes:

> Arthur,
>
> In src/pretty/abox2text.r modified `import abox` to 
> `import abox-ext`. 
>
> Apart from that, I had to copy over some autotools
> configuration files. After a bit of struggling, 
> landed up copying a acconf.m4 from xml-tools. 
> The others were the scripts `missing`,
> `mkinstalldirs`. 
> and a few others. 

I thought those were supposed to be provided automatically by automake
etc. (see the 'reconf' script and INSTALL.CVS).
>
> The full details (including a shell script to get
> this going) is pending admin approval. Will logs and
> stuff, this got to being over the 40k limit.
> This evening, I'll split them up and post the hacks 
> to make codeboost compile. 

I seem to have mislaid the admin password, and mailman doesn't seem to have
any password retrieval/reset functionality (for the admin password), so I
am (for the moment) unable to approve the message.

> Also, I have ported the patch to opencxx2.7. 
> Is there any interest? Will be posting it too anyway. 

I'll include it on the CodeBoost home page.  I don't actually think there's
much point in using newer versions of OpenC++ (except that you need a
fairly recent version if you're using GCC 3.2+), as the parser doesn't seem
to change much.

> pp-aterm! And i did this *by hand* to figure the
> difference! Is there any place with documentation 
> for the rich set of functionality that is obviously
> there. Just not obvious to the novice. 
> I'll try and keep a track of my learning experience,
> but can use help. 

There's also an adiff included with CodeBoost (src/util/), which gives you
an ATerm comparison, possibly ignoring insignificant differences (such as
differing variable names).

> Is there any other documentation for codeboost proper?
> The only thing I am going by are Otto's & Karl's
> theses. But these lack implementation details. 
> Couldn't find any others. 

There are the papers and theses available from http://www.codeboost.org/,
but as you say, none of these gives you many implementation details.  Other
than that, there's a tiny bit of documentation included with the sources
(the INSTALL and INSTALL.CVS files, and a man page and some other stuff in
the doc/ subdirectory).

-otto



From MAILER-DAEMON Wed Feb 04 04:38:13 2004
Received: from list by monty-python.gnu.org with archive (Exim 4.24)
	id 1AoJU5-0000Hl-M7
	for mharc-codeboost-dev@gnu.org; Wed, 04 Feb 2004 04:38:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24)
	id 1AoJU3-0000HX-RC
	for codeboost-dev@nongnu.org; Wed, 04 Feb 2004 04:38:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24)
	id 1AoJTX-0008W9-6h
	for codeboost-dev@nongnu.org; Wed, 04 Feb 2004 04:38:10 -0500
Received: from [131.211.16.76] (helo=mail2.uu.nl)
	by monty-python.gnu.org with esmtp (Exim 4.24) id 1AoJTW-0008Vy-HF
	for codeboost-dev@nongnu.org; Wed, 04 Feb 2004 04:37:38 -0500
Received: from freshwater (107-22.uu.surfnetthuis.nl [145.98.107.22])
	by mail2.uu.nl (Postfix) with ESMTP id 295874CE15
	for <codeboost-dev@nongnu.org>; Wed,  4 Feb 2004 10:37:33 +0100 (CET)
From: "Arthur van Dam" <adam@cs.uu.nl>
To: <codeboost-dev@nongnu.org>
Subject: RE: [Codeboost-dev] Make check fails...
Date: Wed, 4 Feb 2004 10:37:18 +0100
Message-ID: <000601c3eb02$7cc58fd0$2801a8c0@freshwater>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
Importance: Normal
In-Reply-To: <20040203185024.77306.qmail@web41111.mail.yahoo.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
X-BeenThere: codeboost-dev@nongnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: <codeboost-dev.nongnu.org>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/codeboost-dev>
List-Post: <mailto:codeboost-dev@nongnu.org>
List-Help: <mailto:codeboost-dev-request@nongnu.org?subject=help>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/codeboost-dev>,
	<mailto:codeboost-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Feb 2004 09:38:12 -0000

Shishir,

The abox imports just have to do with codeboost being a bit behind on
Stratego.

The auto* thing is taking better care of by the often-used bootstrap
script,
Read more about it on:
  http://www.stratego-language.org/twiki/bin/view/Stratego/WhyBootstrap

Your problem on not knowing pp-aterm is a well-known problem in general.
Stratego is always in development and although many people involved fill
the
Stratego wiki, there is still undocumented features, that can only be
learned
by working with Stratego and asking a lot. I'm only into Stratego for 1
year
now, so I've had the same problems. On:
  http://www.stratego-language.org/twiki/bin/view/Stratego/ATermTools
pp-aterm is mentioned, but I understand it's hard to find. My advice:
browse
a lot through the Wiki, and more specific: look through the contents of
the
bin/ subfolder of the aterm, sdf2-bundle and strategoxt trees. And
sometimes
even the libexec/ subfolder. The names are either self-explanatory or
have
some info on the wiki. Almost all tools accept a -? for further info.

At the SUD04 there will also be attention for development practices in
Stratego (using stratego-shell, stratego-misc and other tools).

I agree with Otto that there are more suitable packages for your first
steps
in Stratego, tiger is a neat package (which is streamlined even more
these
days) with some related articles and wiki documentation.
The downside is that so many has already been done related to tiger-
Optimization, that there's not much 'new' to do for a beginner. This one
of the
reasons why I picked up two new problems, ones that are at least not
done in
Stratego yet.
It can be great fun starting your own small package (writing the SDF,
getting
test files parsed into an AST and unleash Stratego on it.), see for
example
  http://www.stratego-language.org/twiki/bin/view/Stratego/ExpTools

Or do our 'crash-course' on Stratego at:
 
http://www.stratego-language.org/twiki/bin/view/Stratego/HandoutsForTheS
trategoTutorialAtETAPS2002

(sorry Otto and Karl, that I am so shamelessly Stratego-centered in this
Message ;-) )

But in the end: CodeBoost is not difficult to use. Once you have it
running,
it takes care of many things that can be not too interesting for a
program
transformer. You basically have your own stratego-program inserted
somewhere
in the middle of the codeboost-pipeline and you can be sure that your
program
will receive the input program as an AST, and your output will be
further
processed and pretty-printed afterwards.
My first steps in codeboost were on a partial evaluator for CodeBoost,
See codeboost/examples/part-eval/ for details.

Cheers,
Arthur

--
eye@eye-home.net
http://www.eye-home.net
'12:50, press Return'
(Pi)


-----Original Message-----
From: Shishir Ramam [mailto:sramam@yahoo.com] 
Sent: dinsdag 3 februari 2004 19:50
To: Arthur van Dam
Cc: codeboost-dev@nongnu.org
Subject: Re: [Codeboost-dev] Make check fails...


Arthur,

In src/pretty/abox2text.r modified `import abox` to 
`import abox-ext`. 

Apart from that, I had to copy over some autotools configuration files.
After a bit of struggling, 
landed up copying a acconf.m4 from xml-tools. 
The others were the scripts `missing`,
`mkinstalldirs`. 
and a few others. 

The full details (including a shell script to get
this going) is pending admin approval. Will logs and
stuff, this got to being over the 40k limit.
This evening, I'll split them up and post the hacks 
to make codeboost compile. 

Also, I have ported the patch to opencxx2.7. 
Is there any interest? Will be posting it too anyway. 

pp-aterm! And i did this *by hand* to figure the
difference! Is there any place with documentation 
for the rich set of functionality that is obviously
there. Just not obvious to the novice. 
I'll try and keep a track of my learning experience,
but can use help. 

Is there any other documentation for codeboost proper?
The only thing I am going by are Otto's & Karl's
theses. But these lack implementation details. 
Couldn't find any others. 

thanks,
-shishir


--- Arthur van Dam <adam@cs.uu.nl> wrote:
> Hi all,
> 
> Attached is the result of
> [adam@madras:~/tmp]$ pp-aterm -i dtors-parse.ast.txt
> >dtors-parse.ast.txt.pp
> [adam@madras:~/tmp]$ pp-aterm -i dtors-parse.out.txt
> >dtors-parse.out.txt.pp
> [adam@madras:~/tmp]$ diff dtors-parse.ast.txt.pp 
> dtors-parse.out.txt.pp  > dtors-parse.diff.pp
> 
> The first Version Info list is of course no real
> problem. But the
> missing declaration that appears as a NoDecl in your
> .out file might be.
> Otto probably knows :)
> 
> p.s. Shishir, did you need any additional hacks
> before you got
> CodeBoost-0.2.3-dev compiling and running?
> 
> -- Arthur
> 
> 
> 
> Shishir Ramam wrote:
> 
> >Folks,
> >
> >codeboost from the cvs, is running into trouble
> >on `make check`. 
> >
> >Looks like the comparison between
> >the .ast & .out files fails. 
> >
> >Specifically, in src/parser/tests,
> >dtors.cc & varinit.cc fail the test. 
> >
> >I am starting to look to see if i can
> >decipher the difference, but if someone
> >on the list has an easier read of the problem,
> >I'd appreciate help.
> >
> >my setup:
> >cygwin 1.5.6/winxp
> >aterm 2.0.5
> >sdf-bundle 1.6 
> >stratego 0.9.4 
> >opencxx 2.7 (I have patched this. seems to behave
> like
> >the original. The patch is pending an admin
> approval
> >on this list).
> >codeboost - cvs version. 
> >
> >Attached at files dtors-parse.out &
> dtors-parse.ast.
> >
> >thanks,
> >-shishir
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free web site building tool.
> Try it!
> >http://webhosting.yahoo.com/ps/sb/
> >
>
>-----------------------------------------------------------------------
>-
> >
>
>Program([CodeBoost,Version("0.2.1-rc1"),AstVerMajor(1),AstVerMinor(0)],
>[ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("var"),DType(DNil)
,[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("ref")
,DType(Ref(NoQual,DNil)),[],Var(IdName("var"),AnyType,NoScope))]),ManyDe
cl([],TType([],IdName("int")),[VarDecl(IdName("ptr"),DType(Ptr(NoQual,DN
il)),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdName("p
trptr"),DType(Ptr(NoQual,Ptr(NoQual,DNil))),[],NoExpr)]),ManyDecl([],TTy
pe([],IdName("int")),[VarDecl(IdName("array"),DType(Array(Literal(Intege
r("4")),DNil)),[],NoExpr),VarDecl(IdName("ptrarray"),DType(Array(Literal
(Integer("54")),Ptr(NoQual,DNil))),[],NoExpr)]),Decl(FunDecl(IdName("dto
r_dummy_fun"),ArgList([VarDecl(NoName,Type([],IdName("int"),Ptr(NoQual,D
Nil)),[],NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,
DNil)),[],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExp
r,Ptr(NoQual,DNil))),[],NoExpr)]),Type([],IdName("int")
 ,
> >
>
Ref(NoQual,DNil)),[],NoQual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],
IdName("int")),[VarDecl(IdName("init"),DType(DNil),[],Literal(Integer("5
4")))]),Decl(ClsDecl(IdName("dtor"),[],[],Block([ManyDecl([],TType([],Id
Name("int")),[VarDecl(IdName("num"),DType(DNil),[],NoExpr)]),Access(Publ
ic),Decl(FunDecl(IdName("dtor"),ArgList([VarDecl(IdName("x"),Type([],IdN
ame("int"),DNil),[],NoExpr)]),NoType,[],NoQual,CInitList([CInit(IdName("
num"),[Var(IdName("x"),AnyType,NoScope)])]),Block([])),NoSig),NoDecl,Dec
l(FunDecl(IdName("f"),ArgList([VarDecl(IdName("x"),Type([],IdName("int")
,DNil),[],NoExpr)]),Type([],IdName("int"),DNil),[],CQual,NoCInit,Block([
Return(Infix(Op("*",AnyFun),Var(IdName("num"),AnyType,NoScope),Var(IdNam
e("x"),AnyType,NoScope)))])),NoSig)])),NoSig)],[Table("extensions",[])])
> >  
> >
>
>-----------------------------------------------------------------------
>-
> >
>
>Program([CodeBoost,Version("0.2.3-dev"),AstVerMajor(1),AstVerMinor(2),T
>race([("$Id:
> cpp-check.r,v 1.27 2003/04/07 14:01:50 ottosb Exp
> $",["../../../src/sig/cpp-check"]),("$Id:
> cst2ast.r,v 1.11 2003/03/06 19:07:28 ottosb Exp
>
$",["../../../src/parser/cst2ast"])])],[ManyDecl([],TType([],IdName("int
")),[VarDecl(IdName("var"),DType(DNil),[],NoExpr)]),ManyDecl([],TType([]
,IdName("int")),[VarDecl(IdName("ref"),DType(Ref(NoQual,DNil)),[],Var(Id
Name("var"),AnyType,NoScope))]),ManyDecl([],TType([],IdName("int")),[Var
Decl(IdName("ptr"),DType(Ptr(NoQual,DNil)),[],NoExpr)]),ManyDecl([],TTyp
e([],IdName("int")),[VarDecl(IdName("ptrptr"),DType(Ptr(NoQual,Ptr(NoQua
l,DNil))),[],NoExpr)]),ManyDecl([],TType([],IdName("int")),[VarDecl(IdNa
me("array"),DType(Array(Literal(Integer("4")),DNil)),[],NoExpr),VarDecl(
IdName("ptrarray"),DType(Array(Literal(Integer("54")),Ptr(NoQual,DNil)))
,[],NoExpr)]),Decl(FunDecl(IdName("dtor_dummy_fun"),ArgList([VarDecl(NoN
ame,Type([],IdName("int"),Ptr(NoQual,DNil)),[]
> >
>
,NoExpr),VarDecl(IdName("a"),Type([],IdName("int"),Array(NoExpr,DNil)),[
],NoExpr),VarDecl(IdName("ap"),Type([],IdName("int"),Array(NoExpr,Ptr(No
Qual,DNil))),[],NoExpr)]),Type([],IdName("int"),Ref(NoQual,DNil)),[],NoQ
ual,NoCInit,NoDecl),NoSig),ManyDecl([],TType([],IdName("int")),[VarDecl(
IdName("init"),DType(DNil),[],Literal(Integer("54")))]),NoDecl],[Table("
extensions",[])])
> >  
> >
>
>-----------------------------------------------------------------------
>-
> >
> >_______________________________________________
> >Codeboost-dev mailing list
> >Codeboost-dev@nongnu.org
>
>http://mail.nongnu.org/mailman/listinfo/codeboost-dev
> >  
> >
> 
> > 2c2,9
> <   [CodeBoost, Version("0.2.1-rc1"),
> AstVerMajor(1), AstVerMinor(0)]
> ---
> >   [ CodeBoost
> >   , Version("0.2.3-dev")
> >   , AstVerMajor(1)
> >   , AstVerMinor(2)
> >   , Trace(
> >       [("$Id: cpp-check.r,v 1.27 2003/04/07
> 14:01:50 ottosb Exp $",
> ["../../../src/sig/cpp-check"]), ("$Id: cst2ast.r,v
> 1.11 2003/03/06 19:07:28 ottosb Exp $", 
> ["../../../src/parser/cst2ast"])]
> >     )
> >   ]
> 103,174c110
> <   , Decl(
> <       ClsDecl(
> <         IdName("dtor")
> <       , []
> <       , []
> <       , Block(
> <           [ ManyDecl(
> <               []
> <             , TType([], IdName("int"))
> <             , [VarDecl(IdName("num"), DType(DNil),
> [], NoExpr)]
> <             )
> <           , Access(Public)
> <           , Decl(
> <               FunDecl(
> <                 IdName("dtor")
> <               , ArgList(
> <                   [ VarDecl(
> <                       IdName("x")
> <                     , Type([], IdName("int"),
> DNil)
> <                     , []
> <                     , NoExpr
> <                     )
> <                   ]
> <                 )
> <               , NoType
> <               , []
> <               , NoQual
> <               , CInitList(
> <                   [CInit(
> <                      IdName("num")
> <                    , [Var(IdName("x"), AnyType,
> NoScope)]
> <                    )]
> <                 )
> <               , Block([])
> <               )
> <             , NoSig
> <             )
> <           , NoDecl
> <           , Decl(
> <               FunDecl(
> <                 IdName("f")
> <               , ArgList(
> <                   [ VarDecl(
> <                       IdName("x")
> <                     , Type([], IdName("int"),
> DNil)
> <                     , []
> <                     , NoExpr
> <                     )
> <                   ]
> <                 )
> <               , Type([], IdName("int"), DNil)
> <               , []
> <               , CQual
> <               , NoCInit
> <               , Block(
> <                   [ Return(
> <                       Infix(
> <                         Op("*", AnyFun)
> <                       , Var(IdName("num"),
> AnyType, NoScope)
> <                       , Var(IdName("x"), AnyType,
> NoScope)
> <                       )
> <                     )
> <                   ]
> <                 )
> <               )
> <             , NoSig
> <             )
> <           ]
> <         )
> <       )
> <     , NoSig
> <     )
> ---
> >   , NoDecl
> > _______________________________________________
> Codeboost-dev mailing list
> Codeboost-dev@nongnu.org
>
http://mail.nongnu.org/mailman/listinfo/codeboost-dev
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/




