Re: [IronPython] IronLanguages

2011-03-29 Thread Dino Viehland
Matthias wrote: > Yes, this was my main idea. It's very similar how SWIG directors handle > cross-language polymorphism. At runtime I'd create a class which derives > from TestClass and which overrides all virtual methods and properties. > The C# overrides would call the JSObject to see if the

Re: [IronPython] IronLanguages

2011-03-29 Thread Matthias
Am 29.03.2011, 19:27 Uhr, schrieb Dino Viehland : Just to chime in on how to do the conversion: the answer is that you probably can't, at least not for something like TestClass. You could look at what sort of type you're converting from in JS (number, string, function, etc...) and see if T

Re: [IronPython] IronLanguages

2011-03-29 Thread Matthias
Am 29.03.2011, 18:57 Uhr, schrieb Bill Chiles : You'll want to look at the DLR overview doc and then the Sympl sample walkthrough doc: http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Home&ProjectName=dlr Thanks for the link, it will keep me busy for a while :) You'

Re: [IronPython] IronLanguages

2011-03-29 Thread Dino Viehland
ronpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Bill Chiles Sent: Tuesday, March 29, 2011 9:57 AM To: Discussion of IronPython Subject: Re: [IronPython] IronLanguages You'll want to look at the DLR overview doc and then the Sympl sample walkthrough doc: http://dlr.codeplex

Re: [IronPython] IronLanguages

2011-03-29 Thread Bill Chiles
You'll want to look at the DLR overview doc and then the Sympl sample walkthrough doc: http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Home&ProjectName=dlr You'll want to type the parameter to testComplexObject as 'dynamic' and implement IDMOP on JSObject, which you ca