IronPython does have a compiler but it's not currently exposed. Unfortunately it probably won't do what you want right now. While it is getting compiled as an assembly the methods you define on a class don't show up as being methods in the IL, and your class doesn't show up as a normal class. Instead everything ends up as being a bunch of functions, a derived "new type" (derived from your base type), and initialization code so we can later create instances of your "type".
Unfortunately this isn't an easy problem to solve, so there's on ETA on when exactly we'd have this support. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:15 AM To: [email protected] Subject: [IronPython] Using IronPython classes in C#... Hi is it possible to write IronPython classes and use this classes in C# like all other assemblies imported by adding a reference to it? This would imply the ability of IronPython to generate .NET assemblies. Does any one know about that? Thanks Markus _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
