I have written an importer of C code parsed by srcML. The code is available in
http://squeaksource.com/CAnalyzer
No idea how it will behave for Java code
Alexandre
On Oct 15, 2012, at 10:38 AM, Santiago Vidal <santiago.a.vidal(a)gmail.com> wrote:
Since FAMIX doesn't represent the internals of a
method information I create my own method representation. But it is not integrated with
FAMIX.
2012/10/15 Nicolas Anquetil <Nicolas.Anquetil(a)inria.fr>
but can you import the XML into Moose?
nicolas
On 15/10/12 15:31, Santiago Vidal wrote:
Hi,
I've finally solved my problem using an AST parser. Specifically I find that srcML
(
http://www.sdml.info/projects/srcml/) parses Java source code and then it creates a XML
file. The XML file can also be transformed into Java source code again.
You can find my solution in
http://ss3.gemstone.com/ss/SPIRIT.html into the category
Spirit-JavaParser.
JavaMethodParser initializeWith: aFamixMethod returns the parsed method (you need to link
the model with the root folder that contains the source code)
Cheers
Santiago
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Santiago Vidal
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.