Hi John,
Sorry for the late reply.
I worked on a C# (MSIL) importer a few years back while I was working in
Inria.
This parser was based on Mono project and a library Mono.Cecil that
provides API to access MSIL.
The importer I wrote was able to extract the basic information required to
create FAMIX model (Classes, Namespaces, methods, attributes, invocations,
accesses, params).
I think it might also have started to extract Generics but that part might
not be complete. I didn't rewrite FAME/FAMIX for C# but used a library to
transform FAME/FAMIX in Java to C#.
That meant that I could reuse the meta-model + MSE import/export from
existing code.
But I haven't been able to work on it since 6 years now. But if you are
interested, you may have a look here at the code here:
https://scm.gforge.inria.fr/anonscm/svn/verveinesharp/
One day when I get some time I would like to replace Mono.Cecil with
Microsoft's parser that has been opensourced since.
HTH,
regards.
Usman
On Thu, Apr 12, 2018 at 12:09 PM, Johan Fabry <Johan(a)raincode.com> wrote:
Hi all,
And now it looks like I will need to analyze a part of our own code,
written in C#. Is there a parser for C# in Moose and if so, how
extensive/solid is it?
TIA
--
Johan Fabry, Senior Software Engineer.
johan(a)raincode.com | Email too brief? Here's why!
http://emailcharter.org
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev