Re: AspectJ parser

Eric Tanter <[email protected]>
Newsgroups gmane.comp.programming.aspect.general
Message-ID <[email protected]>
Hi!

You might also look at the AspectJ-front project:
http://www.stratego-language.org/Stratego/AspectJFront

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.

Regards,

-- 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    -    [email protected]
> To unsubscribe go to http://aosd.net
>
> Check out the AOSD.net Wiki: http://aosd.net/wiki


__________________________________________________
AOSD Discuss mailing list    -    [email protected]
To unsubscribe go to http://aosd.net

Check out the AOSD.net Wiki: http://aosd.net/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.