Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet298/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   294   295   296   297   298   299   300   301   ...   453
Interacting with the DLR
WHAT’S IN THIS CHAPTER?

Getting your copy of the DLR

Considering hosting APIs


Employing extensions to the LINQ ExpressionTree


Working with DynamicSite


Understanding IDynamicObject


Using the ActionBinder


Considering the other DLR Features


The Dynamic Language Runtime (DLR) is a new feature of the .NET platform. Its intended pur-
pose is to support dynamic languages, such as Python (through IronPython) and Ruby (through 
IronRuby). Without DLR, the .NET Framework can’t really run dynamic languages. In addition, 
DLR provides interoperability between dynamic languages, the .NET Framework, and static 
languages such as C# and Visual Basic.NET. Without DLR, dynamic and static languages can’t 
communicate (see the section “Understanding the Relationship between Dynamic and Static 
Languages” in Chapter 15 for additional details). In order to meet these goals, DLR must pro-
vide basic functionality that marshals data and code calls between the dynamic and static envi-
ronments. This functionality comes in a number of forms that are discussed in this chapter. You 
might be surprised to find that you’ve already used many of these features throughout the book. 
Here’s the list of features that DLR supports in order to accomplish its goals.
➤➤
Hosting Application Programming Interfaces (APIs): In order to run dynamic language 
scripts, the host language must have access to the scripting engine. The Hosting APIs 
provide the support needed to host the dynamic language within the host environment 
through the scripting engine. This marshaling of code and data makes it possible to 
seamlessly integrate static and dynamic languages.
14
548592c14.indd 287
2/24/10 12:49:03 PM
www.finebook.ir



Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   294   295   296   297   298   299   300   301   ...   453




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish