It’s interesting. This sort of thing has crossed my mind recently but I haven’t really come up with a good solution. I’ve been doing some pure Java programming lately using Maven projects with m2e and there are so many libraries available in Maven central,
it’s so easy to get up and running with pretty advanced systems quickly.
As part of this work, I have some interest in leveraging a part of the CDT as well. But we aren’t structured properly to be able to take chunks out and re-use them like that. And I’m not even sure it’s possible to do in non-OSGi environments.
We’ve had many people ask over the years about reusing the AST externally. I think there would also be value in exposing the MI interface to automate debug tasks. It would be great if we could restructure our code and make these available as jars at Maven
Central. But we aren’t there today.
Doug.
Thanks Marc for your response.
Basically I would like to perform write test codes that work on ASTs not obtained from any project from the IDE. Basically Parsed from Strings or other text files. Perform modifications to that AST and be able to use the rewritten AST , all this possibly
without a code from the IDE