From fabien at tzone.org Wed Nov 13 21:24:00 2002 From: fabien at tzone.org (Fabien =?iso-8859-1?q?Ni=F1oles?=) Date: 13 Nov 2002 15:24:00 -0500 Subject: [aspectc-user] AspectC++-Request: Debian GNU/Linux for PowerPC Message-ID: <87bs4tp6an.fsf@hawkmoon.local.tzone.org> Could I have an aspect C++ compiler for PowerPC (Debian GNU/Linux platform)? I would like to study it in a research on aspect programming. BTW, do you plan to license it one day? Thanks for the informations, Fabien Ninoles -- Fabien Niñoles Debian Maintainer fabien at debian.org http://www.debian.org GPG KeyID: C15D FE9E BB35 F596 127F BF7D 8F1F DFC9 BCE0 9436 From danilo.beuche at pure-systems.com Wed Nov 13 21:38:38 2002 From: danilo.beuche at pure-systems.com (Danilo Beuche) Date: Wed, 13 Nov 2002 21:38:38 +0100 Subject: [aspectc-user] AspectC++-Request: Debian GNU/Linux for PowerPC References: <87bs4tp6an.fsf@hawkmoon.local.tzone.org> Message-ID: <3DD2B84E.2090805@pure-systems.com> Fabien Niñoles wrote: > Could I have an aspect C++ compiler for PowerPC (Debian GNU/Linux > platform)? I would like to study it in a research on aspect > programming. BTW, do you plan to license it one day? > > Thanks for the informations, > Fabien Ninoles > Hi, to your first question: Yes, it is possible to get one for the PowerPC, but we currently have only access to a Mandrake based system. But this should not be a serious problem, if your Debian installation is recent enough. to your second question: Yes. There will be licenses for both, non-commercial use and commerical use available very soon. Regards, Danilo Beuche -- Danilo Beuche Phone: +49-391-6272965 pure-systems GmbH Fax: +49-391-6272967 From gal at cs.fau.de Wed Nov 13 22:01:32 2002 From: gal at cs.fau.de (Andreas Gal) Date: Wed, 13 Nov 2002 22:01:32 +0100 (CET) Subject: [aspectc-user] AspectC++-Request: Debian GNU/Linux for PowerPC In-Reply-To: <87bs4tp6an.fsf@hawkmoon.local.tzone.org> Message-ID: Hi Fabien, currently we do not have access to PowerPC hardware to compile Linux PPC or MacOS X binaries. However, we are working on a source code release of aspectc++, which will allow you to compile the binaries yourself. Both, the binary release and the soon to be released source code can be used free of charge for non-commercial or evaluation purposes. For commercial use licenses are available from pure-systems (www.pure-systems.com). Andreas On 13 Nov 2002, Fabien Niñoles wrote: > Could I have an aspect C++ compiler for PowerPC (Debian GNU/Linux > platform)? I would like to study it in a research on aspect > programming. BTW, do you plan to license it one day? > > Thanks for the informations, > Fabien Ninoles > > -- Andreas Gal, Dipl. Inf. Tel: (+49 9131) 85 28026 Univ. of Erlangen/Nuernberg, Informatik 4 Fax: (+49 9131) 85 28732 From Dominik.Sacher at de.bosch.com Thu Nov 14 12:52:56 2002 From: Dominik.Sacher at de.bosch.com (EXTERN Sacher Dominik (Diplomand; FV/SLD)) Date: Thu, 14 Nov 2002 12:52:56 +0100 Subject: [aspectc-user] is args() redundant? Message-ID: <4BA83203985FD411A34A00508B69D831057A1517@frmail3.fr.de.bosch.com> Dear all! I don´t get the point of the "args()" - PCD. This is the status quo: pointcut irq_Level( int level ) = call ("void IRQ::level(int)") && args( level ); advice irq_Level( level ) : after( int level ) { ... } But won´t this be sufficient: pointcut irq_Level( int level ) = call ("void IRQ::level(int)"); advice irq_Level( level ) : after( int level ) { ... } Regards, Dominik From Olaf.Spinczyk at informatik.uni-erlangen.de Thu Nov 14 15:48:01 2002 From: Olaf.Spinczyk at informatik.uni-erlangen.de (Olaf Spinczyk) Date: Thu, 14 Nov 2002 15:48:01 +0100 Subject: [aspectc-user] is args() redundant? In-Reply-To: <4BA83203985FD411A34A00508B69D831057A1517@frmail3.fr.de.bosch.com> References: <4BA83203985FD411A34A00508B69D831057A1517@frmail3.fr.de.bosch.com> Message-ID: <200211141548.01088.Olaf.Spinczyk@informatik.uni-erlangen.de> Hi Dominik, Am Donnerstag 14 November 2002 12:52 schrieb EXTERN Sacher Dominik (Diplomand; FV/SLD): > Dear all! > > I don´t get the point of the "args()" - PCD. > > This is the status quo: > pointcut irq_Level( int level ) = call ("void IRQ::level(int)") && args( > level ); > advice irq_Level( level ) : after( int level ) { ... } > > But won´t this be sufficient: > pointcut irq_Level( int level ) = call ("void IRQ::level(int)"); > advice irq_Level( level ) : after( int level ) { ... } args("int") and args(level) select all call or execution join points with a single integer argument. args(level) does not only select these join points, it also binds the parameter 'level' to this argument as a context information. To use args(level) in conjunction with call("void IRQ::level(int)") leads to redundancy because both pointcut funtions restrict the set of selected join points to those having only a single integer argument. To avoid this redundancy you can use the following expression: pointcut irq_Level(int level) = call("void IRQ::level(...)") && args(level); The idea behind the args() function is to separate functions, which can bind context information, from 'normal' pointcut functions, which only select joinpoints. You are right that there may be some redundancy, but it can be avoided. Your proposed code fragment has the disadvantage that AspectC++ would have problems in a case with multiple arguments, e.g. "pointcut irq_Level( int level ) = call ("void IRQ::level(int,int,int)")"; Should "level" be bound to the first, second, or third argument? AspectC++ would be able to tell that. Aspect*J* had a syntax like this in early versions: pointcut irq_Level( int mylevel ) = call (void IRQ.level(mylevel)); Later they switched to the args() function, just to separate context binding from join point selection. Yours, Olaf From henrytpeter at hotmail.com Sat Nov 16 23:15:16 2002 From: henrytpeter at hotmail.com (HMS) Date: Sat, 16 Nov 2002 14:15:16 -0800 Subject: [aspectc-user] AspectC++-Request: Message-ID: May I know when the source for aspectC++ would be released ? Thanks, Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: