Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AspectJ DOM
AspectJ DOM [message #61728] Tue, 07 February 2006 04:32 Go to next message
Eclipse UserFriend
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 11:01 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
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 11:01 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
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.
Previous Topic:AspectJ DOM
Next Topic:compiler not copying .xml file to output folder
Goto Forum:
  


Current Time: Wed Jul 17 03:24:45 GMT 2024

Powered by FUDForum. Page generated in 0.02780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top