[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Is JDT's intermediate AST representation based on any particular standard?

Rahul,

I believe the AST representation is entirely hand built. There is an EMF Java model (JEM), but it's not at the granularity of AST (which even represents statements and expressions) and is (I think) effectively a read-only model. I also don't think it's been updated to address Java 5.0 additions. I know there is a new project proposal in the works (it's been sent to the EMO but I don't see it on the project proposal page at Eclipse yet) for the IMP project which will generate an AST based on a grammar and help generate JDT-like IDE support for that language. Miguel Garcia is working on similar technology as part of his Google SOC project...


Rahul Mishra wrote:
Hi Ed Merks,

So, isnt there a JDT generated Model(or representation) of the Abstract Syntax Tree for the programmers facilitation? Because, if the model is available one could naturally use it in language processing field directly or indirectly. Here, directly would refer to using the model itself and indirectly refers to changing the JDT generated model to some other model of the programmer's use. Thanking you in anticipation.

regards,
Rahul Mishra