Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Codeplex.com\dlr is now setup to receive regular source updates

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;
Posted by seshadripv | 0 Comments
Filed under: , , , ,

DLR v0.9 beta released in CodePlex

We are happy to announce the release of the DLR Project in Codeplex . This beta of the v0.9 of the DLR consists of a source and binary release . This excellent release note by our PM Bill Chiles gives a nice short overview of what's in this release. We
Posted by seshadripv | 3 Comments
Filed under: , , ,

Using LINQ and the DLR in the same application

The recent beta release of the DLR allows the usage of LINQ and other CSharp 3.0 features in an application that hosts the DLR. Harry , our IronPython PM has a detailed post explaining why this was not possible before and whats changed now.
Posted by seshadripv | 1 Comments
Filed under: , ,

DLR Hosting API : How to create a ScriptRuntime object without using App.Config files using language specific hosting API

This previous post demonstrates the use of App.Config files to create script runtimes to host dynamic languages in an application. It is also possible to create runtimes without using a config file. The API to create a runtime and a python engine without

DLR Hosting Sample : Simple dlr host using the new App.Config based ScriptRuntime creation

Due to the recent changes to the DLR Hosting API , dlr hosts now have to use the App.Config file to configure the languages they intend to use in the application. It’s probably a little bit more complex than before to get started on Hosting the DLR after

DLR Hosting API : latest version of the spec is available online (includes changes to runtime initialization)

The latest version of the Hosting API spec is available here . The most recent source code drop to the IronPython codeplex site conforms to this spec (except for some open bugs). The biggest change this spec introduces to the beta4 binaries is the way

DLR Hosting API : How to create ScriptScopes using backing symbol dictionaries to implement dynamic variable lookup

The factory methods used to create a ScriptScope object have overloads that take a 'IAttributeCollection' object to create the scope using the collection as a backing store. This feature is very useful and any app that needs non trivial Hosting would

Quick notes on ScriptScope

ScriptScope is one of the key types available in the DLR Hosting API. They act as a context in which hosts execute code and record the effects of execution like changes in object values, creation of new objects etc. Prior to any code execution, ScriptScopes

IronPython 2.0 beta 4 released

IronPython 2.0 Beta 4 has been released here . Since the DLR and Hosting API components ship with IronPython, this beta also contains newer versions of Hosting API. So you can use this version to try out any of the Hosting API samples from this blog’s
Posted by seshadripv | 1 Comments
Filed under: , ,

4 different ways to execute IronPython code using the DLR Hosting API

Normal 0 false false false EN-US ZH-TW X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;

How to create IronPython objects of types defined in C#

The DLR Hosting API lets the hosted script instantiate objects of types defined in the hosting C# / VB module. This post describes how to do that using the appropriate methods from the API. Here are the simple steps - 1) Load the assembly containing the

IronEditor - Editor for IronPython, IronRuby and other DLR languages

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;
Posted by seshadripv | 1 Comments
Filed under: , , ,

DLR Hosting Sample : QikScript - Handle Visual Studio 2008 extensibility events in IronPython

The DLR Hosting API offers a well defined interface for managed applications to host and utilize the power of the DLR (Dynamic Language Runtime) to enable end user scripting. The objective of this sample (and the forthcoming series of posts based on this

Using the 'Find' box in VS to do some cool stuff

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;
Posted by seshadripv | 1 Comments
Filed under: ,

How to redirect output from python using the DLR Hosting API

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes;
More Posts Next page »
 
Page view tracker