AspectJ DOM [message #61728] |
Mon, 06 February 2006 23:32  |
Eclipse User |
|
|
|
Originally posted by: kiyan.psu.edu
I'm developing a plugin for Eclipse similar to the AJDT, in that it is for
a language that extends Java with new capabilities. I've reached the
point where I'm ready to begin implementing a DOM for my language.
I was wondering what approach was used for the AJDT in developing the DOM.
Was the JDT's DOM somehow used as well, and is generating the DOM done
using the compiler's AST or using a lightweight parser?
Thank you in advance for all the help.
|
|
|
Re: AspectJ DOM [message #61752 is a reply to message #61728] |
Wed, 08 February 2006 06:01  |
Eclipse User |
|
|
|
On Tue, 07 Feb 2006 04:32:11 +0000, Kiyan wrote:
> I'm developing a plugin for Eclipse similar to the AJDT, in that it is for
> a language that extends Java with new capabilities. I've reached the
> point where I'm ready to begin implementing a DOM for my language.
>
> I was wondering what approach was used for the AJDT in developing the DOM.
> Was the JDT's DOM somehow used as well, and is generating the DOM done
> using the compiler's AST or using a lightweight parser?
There are two areas to tackle, building a compiler for your Java-like
language, and then adding support for new elements to the JDT model so
that they surface in the Eclipse UI (plus of course associated editors,
wizards etc). In the compiler case, AspectJ clones the JDT compiler and
extends it as necessary. This includes extending the JDT parser.
Regards,
Matt.
|
|
|
Re: AspectJ DOM [message #592145 is a reply to message #61728] |
Wed, 08 February 2006 06:01  |
Eclipse User |
|
|
|
On Tue, 07 Feb 2006 04:32:11 +0000, Kiyan wrote:
> I'm developing a plugin for Eclipse similar to the AJDT, in that it is for
> a language that extends Java with new capabilities. I've reached the
> point where I'm ready to begin implementing a DOM for my language.
>
> I was wondering what approach was used for the AJDT in developing the DOM.
> Was the JDT's DOM somehow used as well, and is generating the DOM done
> using the compiler's AST or using a lightweight parser?
There are two areas to tackle, building a compiler for your Java-like
language, and then adding support for new elements to the JDT model so
that they surface in the Eclipse UI (plus of course associated editors,
wizards etc). In the compiler case, AspectJ clones the JDT compiler and
extends it as necessary. This includes extending the JDT parser.
Regards,
Matt.
|
|
|
Powered by
FUDForum. Page generated in 0.02522 seconds