dynamic-language-runtime Questions
3
Solved
The majority of material I have found regarding DLR is related to IronPython. Can you parse and execute C# using DLR? If so is there over head that would prevent you from attempting this on a web s...
Giacopo asked 19/6, 2009 at 20:39
3
Solved
I guess everyone has already heard the news about some key developers leaving the Dynamic Languages team due to what they perceive as waning support for Dynamic Languages at Microsoft.
I'm quite f...
Dunghill asked 17/8, 2010 at 23:25
3
Would you recommend Iron Ruby, Iron Python, or PowerShell for making a C# application a script host?
Would you recommend Iron Ruby, Iron Python, or PowerShell for making a C# application a script host?
After some quick tinkering, right now I'm leaning towards powershell for two main reasons (note...
Inopportune asked 14/8, 2010 at 16:47
3
Solved
I want to create an instance of an IronPython class from C#, but my current attempts all seem to have failed.
This is my current code:
ConstructorInfo[] ci = type.GetConstructors();
foreach (Con...
Speiss asked 4/8, 2010 at 4:59
3
There are various samples available for how to host Python or Ruby running on the DLR, inside your own AppDomain.
Are you able to do this yet with VB? There have been mentions of this since ...
Taxdeductible asked 18/11, 2008 at 1:53
1
I would like to host the Dynamic Language Runtime (DLR) in such a way that users who run arbitrary scripts in it cannot bring the process down?
The DLR hosting spec describes how to host the DLR in...
Faintheart asked 16/7, 2010 at 22:32
3
Solved
Has IronPython gotten to a point where you can just drop it in as a replacement for CPython?
To clarify: I mean can IronPython run applications originally written for CPython (no .NET involved, of...
Astromancy asked 15/12, 2009 at 3:41
3
Solved
Do you know of the list of dynamic languages that .NET 4.0 DLR supports?
I know IronRuby, IronPython are supported. Not sure if IronScheme is. F#? What else?
Thanks!
Wilbertwilborn asked 15/1, 2010 at 21:41
3
Solved
Is it possible to write a C# assembly which when loaded will inject a method into a class from another assembly? If yes, will the injected method be available from languages using DLR, like IronPyt...
Ciliolate asked 17/5, 2010 at 23:34
3
Solved
Will .Net 4.0 use a new version of the CLR (v2.1, 3.0) or will it stick with the existing v2.0?
Supplementary: Is it possibly going to keep with CLR v2.0 and add DLR v1.0?
Update: Whilst this mig...
Gussiegussman asked 29/9, 2008 at 14:12
4
Solved
I'm wanting to learn more about IL and CLR / DLR under the hood. A friend of mine recommended the book "Inside Microsoft .NET IL Assembler", but since it came out in 2002 I fear it's pretty out of ...
Bozovich asked 2/12, 2009 at 15:39
2
Solved
I have a subclass of DynamicObject and I would like to implement implicit casting for primitive types similarly as DO's explicit casting method TryConvert; that is, without writing multiple implici...
Fairish asked 16/1, 2010 at 0:29
2
I need some DLR help. I am implementing an IDynamicMetaObjectProvider and DynamicMetaObject but I am having some issues getting the expected return type. I am overiding BindInvokeMember in the meta...
Timtima asked 1/9, 2009 at 0:55
1
Solved
I'm building a spreadsheet-like application, where a lot of small calculations needs to be stitched together in a tree-structure. These calculations are user-defined and I need a way for the user t...
Underweight asked 10/10, 2009 at 15:0
1
Solved
I'd like to learn more how to create a language for .NET framework. I think I'd like to build a DLR language. I'm having hard time founding good resources. I found a descent article on MSDN that wa...
Horsefly asked 19/9, 2009 at 14:25
1
Solved
scope.SetVariable("math", ?? typeof(System.Math) ??);
or do I need create a module?
Plumbism asked 19/8, 2009 at 14:15
1
Solved
I don't have access to the C# 4.0 preview yet. But I am curious, what does the C# 4.0 runtime do when invoking an overloaded method in the following case. Does it resolve to the generic overload .....
Charlenecharleroi asked 12/6, 2009 at 15:9
4
Solved
In the DLR's LINQ Expressions, what is the difference between this:
Expression.Convert(SomeVariableExpression, typeof(T));
and this:
Expression.Unbox(SomeVariableExpression, typeof(T));
The d...
Enlistee asked 9/6, 2009 at 17:31
3
Solved
I'm currently researching the 2nd edition of C# in Depth, and trying to implement "dynamic protocol buffers" - i.e. a level of dynamic support on top of my existing protocol buffer library. As such...
Rillings asked 31/5, 2009 at 14:39
1
The dynamic language runtime (DLR) has some pretty cool code for Expression's, including some very nice code to print out Expression trees which I want to use so that:
int a = 1;
int b = 2;
Expres...
Hygro asked 30/3, 2009 at 14:29
2
Solved
.Net 4 will have the a DLR (Dynamic Language Runtime). I know that it will be used for things like Iron Python and Iron Ruby. But is that all it's good for?
How is the DLR useful?
How does the ...
Ursi asked 17/3, 2009 at 17:13
4
As they are in .Net 3.5. I know they are in 4.0, as that's what the DLR works with, but I'm interested in the version we have now.
Asphyxiate asked 30/10, 2008 at 14:37
1
Solved
I currently have an issue in my DLR language implementation where subsequent calls to a method defined in the language occur with the same input parameters used by the first call to that method.
S...
Shampoo asked 19/12, 2008 at 14:46
5
Solved
To implement "method-missing"-semantics and such in C# 4.0, you have to implement IDynamicObject:
public interface IDynamicObject
{
MetaObject GetMetaObject(Expression parameter);
}
As far as I...
Tucker asked 29/10, 2008 at 6:38
1
Solved
I'm building a compiler that targets .NET and I've previously generated CIL directly, but generating DLR trees will make my life a fair amount easier. I'm supporting a few dynamic features, namely ...
Julietajulietta asked 13/9, 2008 at 10:58
© 2022 - 2024 — McMap. All rights reserved.