Re: [abc-dev] Extension of abc

From: Léonard Babineaux <>
Date: Fri, 14 Mar 2008 15:54:55 +0000

Thanks Pavel.
For me, I think this is best option! Would you be able to tell the place in
code i make alteration for me to be able to make change to an aspect? The
documentation of polyglot library reads that one extends a visitor class and
make a new ExtensionInfo class to make a new pass? Can I make a new pass in
a new visitor within the aspectj folder? At what point in the main method do
you think it is safe for to run a new pass - I think I want it before the
type check pass to make sure the change is not wrong.

Thank you sincerely Pavel. I wait with anticipation for your response.

2008/3/14, Pavel Avgustinov <>:
> On Friday 14 March 2008 14:15:22 Léonard Babineaux wrote:
> > Thank you Pavel.
> > It is a desire for me to to be able to parse an aspectj file so I can
> > change programatically the aspect according to features of the base
> code. I
> > would then like to be able to regenerate the aspectj code again. I like
> abc
> > because it says it is able to do matching in the base.
> >
> > However, this is not possible with abc? Is there some other tool that
> you
> > know that can aid me in my desires?
> Not really, sorry.
> > Alternatively, is it possible for me to be able to change the aspect and
> > then make it produce woven .java files instead of .aj files?
> This is quite possible -- you simply need to pass the -dava switch to abc
> to
> run the resulting code through Dava, thus producing Java source. The idea
> would then be for you to manipulate the AST at the stage of Polyglot
> passes;
> the woven Java code will be emitted at the end.
> - P
Received on Fri Mar 14 2008 - 15:54:59 GMT

This archive was generated by hypermail 2.2.0 : Sat Mar 15 2008 - 11:10:11 GMT