[ANN] AspectS -- AOP with Squeak

Robert Hirschfeld hirschfeld at acm.org
Mon Jul 16 22:19:59 UTC 2001


AspectS 0.1.1
---

There is an updated version of AspectS (0.1.1), now with very basic 
tool support.  The system and the hierarchy browser were extended to 
highlight the places in the source code that were affected by 
aspects/advice.  As a simple example, evaluate the following in a 
workspace to activate a demo aspect (the one the reports 
mouseEnter:/#mouseLeave: message sends to morphs):

	demoAspect _ AsMorphicMousingAspect new install.

and open one of the modified browsers (only in Morphic!) via

	AsBrowser openBrowser.
(or)	AsBrowser fullOnClass: Morph.
(or)	AsBrowser newOnCategory: 'Morphic-Kernel'.

(or)	AsHierarchyBrowser newFor: Morph.

The browser highlights all classes (w/ class categories) and methods
(w/ method categories) that the demo aspect and its advice applied to. 
To deactivate the demo aspect, evaluate in your workspace:

	demoAspect uninstall.

The browser enhancements are very limited at the moment, but might 
help to get a visual impression about how a single aspect can affect 
quite a few places in the image by distributing cross-cutting behavior.

The latest version is here:
http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/AspectS/

Aslo, there is a pre-configured image (3.1alpha #4173) for download:
http://www.prakinf.tu-ilmenau.de/~hirsch/Projects/Squeak/AspectS/Tmp/AspectS-011-31a4173.zip

Best,
-Robert

___________________________________________
                          Robert Hirschfeld
                  mailto:hirschfeld at acm.org
   http://www.prakinf.tu-ilmenau.de/~hirsch




More information about the Squeak-dev mailing list