C H A P T E R  6

images

DLR Hosting API

The DLR Hosting API is a programming interface that allows one language’s code to execute in another language. For ease of discussion, I’ll refer to the language whose code is executed in another language as the guest language. The language that executes a guest language’s code will be  the host language.  

The biggest source of complexity in executing a guest language’s code is the need for sharing data between the host language and the guest language. For example, when we execute Python code in C#, we often want to pass some objects as input to the Python code. The objects might represent the object model of ...

Get Pro DLR in .NET 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.