>assembly from IL into C so that it can be recompiled for >low-end devices. Yes?
Yes. >One caveat with this approach is that IL assumes a garbage collector, good point. The goal though is to be able to take ANY c# assembly and convert to c. I will need to build a garbage collector system as part of the framework. Thanks for the heads up. >It will also be much easier to convert from a parse tree (or CodeDOM) than from IL. I've used code dom for simple C# interpreter in code generation templates. The problem with this approach is it is specific to language .. on msdn it says ( it provides concrete compilers for: C#, JScript, and Visual Basic.) What about other languages? By using IL (i support all .net languages: IronPython, Php, ..ect) I just need an ILReader. I'm debating actually on whether to use Cecil, PostSharp ILReader, ms published ilreader on codeplex, or creating my own IL AST... --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
