Hi Doru,
I am not really considering this as a parser, as the plugin would directly rely on the Eclipse model of the underlying code, which solves the parsing issues for us. (But certainly there will be other issues :-/ )
It's cool to see that there has been work done before on that! So my question is what we can learn of these efforts, what is the story here? Is there any clear picture on what was wrong with these multiple plugins and how each successive attempt solved/failed to solve issues ?
On 30 Dec 2009, at 13:45, Tudor Girba wrote:
Hi Johan,
Sure there is plenty of interest for any parser :).
In fact, we had several Eclipse plugins as Moose exporters:
- http://www.moosetechnology.org/tools/retired/moosebrewer
- http://www.moosetechnology.org/tools/retired/j2moose
- http://www.moosetechnology.org/tools/retired/jfamix
Alex also worked on a Java parser written in VW: http://www.moosetechnology.org/tools/retired/java4moose
Yet another solution was based on JavaConnect/Penumbra: http://www.moosetechnology.org/docs/others/importWithPenumbraInVW
Unfortunately, none of these are maintained anymore. In general, the problem with parsers is that they are tedious to maintain for complicated languages, because many problems appear in very specific contexts.
So, we need solutions that have support behind, and inFusion is great because it has it, and I maintain the exporter to make sure it is working with the latest Moose.
But, as I said, there is always more interest in getting more importers around Moose, and it would be great if someone would be willing to invest longer term effort into :).
Cheers, Doru
On 30 Dec 2009, at 16:47, Johan Fabry wrote:
Hi all,
I was just thinking about the Java import for moose, I am wondering how many people are using moose to analyze Java code. I think an interesting alternative to using infusion would be an Eclipse plugin that exports to mse-famix3. Is there any interest here for such a plugin?
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile