[aosd-discuss] AspectJ parser

Eric Tanter etanter at dcc.uchile.cl
Wed Apr 5 13:56:38 EST 2006


You might also look at the AspectJ-front project:

Taken from the web page:

AspectJ-front provides:
     * Modular syntax definition for AspectJ 5.0 in SDF. The AspectJ  
syntax definition is an extension of the modular syntax definition of  
Java provided by Java-front.
     * Hand-crafted pretty-printer for AspectJ. The pretty-printer is  
an extension of the pretty-printer for the Java in Java-front.

AspectJ-front defines three variations of the AspectJ language:
     * AJF, which is the most liberal definition, where only real  
ambiguities are resolved, for example by reserving keywords at very  
specific locations.
     * AJC, which adds restrictions to the language (pseudo keywords)  
to be more compatible with the official AspectJ compiler.
     * ABC, which reserves keywords in a context-sensitive way, thus  
defining the language supported by the abc compiler for AspectJ.


-- Eric

On Mar 23, 2006, at 07:12 , Kawtip Nippon wrote:

> Dear all,
> I am doing research about measuring some metrics from AspectJ code.  
> I would like to find a way to traverse the structure of source code  
> to collect the metrics that I define. Would you please suggest me  
> about AspectJ parser that construct a tree for AspectJ source code  
> or any other ways to traverse the AspectJ code?
> Thank you very much in advance.
> Sunnie
> Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using  
> Yahoo! Messenger with Voice.
> __________________________________________________
> AOSD Discuss mailing list    -    discuss at aosd.net
> To unsubscribe go to http://aosd.net
> Check out the AOSD.net Wiki: http://aosd.net/wiki

More information about the discuss mailing list