Page 1 of 1

Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 2:17 pm
by Piedone
Hi,

another question: I've seen that there's ScriptRuntime support implemented in the source in PHP.Core.Runtime but for an outdated version of the assembly: therefore I think it's not usable with the current version (e.g. there's no LanguageSetup defined anywhere).
Do you plan to support newer versions?

Thanks in advance!

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 3:45 pm
by Jakub Misek
I don't see ScriptRuntime anywhere in Phalanger sources. What project do you refer?

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 4:09 pm
by Piedone
See Php.Core.DynamicCode ln 432. I guess this is an early implementation of ScriptRuntime support?

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 5:52 pm
by Jakub Misek
It is implementation of PHP function eval() actually.

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 7:03 pm
by Piedone
So this wasn't about having an implementation like IronRuby? It plays well with the unified interfaces of Microsoft.Scripting.Hosting.

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 13th, 2012, 10:50 pm
by Jakub Misek
This is not in Phalanger, but somebody did it ... it should be on GitHub

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 14th, 2012, 10:33 am
by Piedone
Sounds great! Could you possibly give me a few more pointers? I searched the web and specifically Github as well for this but can't really find it.

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 15th, 2012, 12:26 pm
by Jakub Misek
I could not find it too :-) will try again

Re: Microsoft.Scripting.Hosting support?

PostPosted: October 15th, 2012, 12:56 pm
by Piedone
Thank you!