| [news.eclipse.technology.ldt] Re: Beyond textual represenations... |
Yes, I think this is a good compromise. I think that part of the LDT's intial effort is going to be define APIs for a generic AST. Consequently, tools can be written to the API to operate on a language-neutral AST.1. JDT DOM API is too Java dependent now. Changing it to make it more generic would break clients anyway. So it might make sense not become too fixed on JDT. A new API that is JDT other might be used.
Persisting this AST is orthogonal to these APIs though, and I'm not at all aware how the plugin you describe would be written. And, it feels like a pretty large effort to build a plugin to have eclipse persist ASTs instead of text files. I do think though, that such a plugin would be a client of the LDT APIs though, and not part of the LDT itself.
Constantine