Hi Michael, Thanks for the kind words!
I don't think there's anything like that around. It would involve a C# REPL like compiler (Mono has one, Roslyn has one) that doesn't emit assemblies in memory, and analyzing the result. The real question is why would you want that? Cecil and T4 don't have much in common : what are you trying to achieve? Jb On Thu, Nov 27, 2014 at 2:22 PM, Michael DeMond <[email protected]> wrote: > Hello Community, > > I am looking into Cecil... tremendous project, I must say first off. I am > curious if there is a way to take a given string and parse it into an Cecil > entity definition. For instance, something like: > > var data = "void Add( int a, int b ) { return a + b; }"; > MethodDefinition definition = SomeAwesomeExpressionParserClass.Parse( data > ); > > This would be extremely useful and would possibly eliminate any sort of > dependency on T4 (I have found this very clunky and Cecil seems like a MUCH > better alternative!) > > Thanks for any assistance you can provide, > Michael > > -- > -- > -- > mono-cecil > --- > You received this message because you are subscribed to the Google Groups > "mono-cecil" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- -- mono-cecil --- You received this message because you are subscribed to the Google Groups "mono-cecil" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
