dynamic-language-runtime Questions
2
Solved
I am creating expression tree and there is a situation where I need to create one lambda in another lambda and store inner one in a class and add that class in expression tree.
This is simple examp...
Cimbri asked 19/5, 2012 at 21:28
1
Solved
Im trying to add function on runtime , something like that :
static void Main()
{
dynamic d = new Duck();
d.Quack =(Action) (() => Console.WriteLine("1")); //decalre a new method on runtime ...
Megathere asked 9/5, 2012 at 9:4
1
Solved
I apologize for this question length, but I think you'll all find it worth it. Before I begin, let me say that I was really trying to produce an isolated console application, but sadly that proved ...
Warrantor asked 20/4, 2012 at 16:8
4
Solved
I'm looking for a way to add members dynamically to an dynamic object. OK, I guess a little clarification is needed...
When you do that :
dynamic foo = new ExpandoObject();
foo.Bar = 42;
The Ba...
Loftus asked 17/1, 2010 at 3:34
1
Solved
I am implementing a language interpreter in C# using the DLR, and I'm having some troubles with the ternary operator. At this point, I have basic function declarations/calls implemented, like so:
...
Diphenylamine asked 14/2, 2012 at 19:8
1
Solved
In CPython, I think, import means compile the py file to a pyc file and execute the file in the current frame, and the next time CPython will load the pyc file directly without compiling again. Wha...
Ramadan asked 8/12, 2011 at 6:19
1
Solved
I was trying to generate a simple Lambda Expression at runtime with no luck... something like this:
var result = queryableData.Where(item => item.Name == "Soap")
Here is my example class and ...
Techno asked 29/11, 2011 at 18:30
2
We're currently investigating how we can embed IronPython (scripting) into our C# application.
We see the benefits it will provide to our end users, giving them the ability to hook into our appli...
Backbreaker asked 25/10, 2011 at 22:6
3
Solved
I have to develop a compiler for a statically typed language for .NET I'm considering using the DLR for this instead of building all the parts (Lexer/Parser, Syntax, Semantic, Code Generation).
Wo...
Goring asked 5/10, 2011 at 20:29
3
Solved
Is there a way to access DLR object (eg. DynamicObject subclass instance) members (properties and methods) in F# that is similar to C# dynamic ?
Commines asked 27/5, 2011 at 9:7
4
Solved
I'v been looking into using DLR for my toy language, and I'm a bit confused. If .NET 4.0 has LINQ Expression trees, Dynamic Objects and the "dynamic" type, then do we really need the DLR anymore? W...
Dagger asked 18/7, 2011 at 23:45
2
I have a method that should return the ids from a List.
Usually I would use reflection for this task (I cannot use a generic method since the classes are usually POCOS that don't share an interface...
Architectural asked 14/7, 2011 at 15:28
5
Solved
I want to access a property on an object while leveraging the DLR binding mechanism.
I cannot use the native binding mechanism (dynamic keyword in C#) because I do not know the property name at c...
Neoclassic asked 27/6, 2011 at 10:9
3
Solved
Is it okay to start using Iron Ruby and Iron Python in production systems? Also, are there any additional requirements for hosting them?
And, for the bonus points, given that F# is a functional pr...
Suspicious asked 22/10, 2010 at 14:12
4
Can any one point out as where can I get some tutorials about IronJS and how to call a method written in IronJS from C# 4.0
Thanks
C#4.0, IronJS
Dispenser asked 25/10, 2010 at 5:47
2
Solved
I was wondering if anyone has had any luck getting a DynamicObject to serialize and work with WCF?
Here’s my little test:
[DataContract]
class MyDynamicObject : DynamicObject
{
[DataMember]
pri...
Hap asked 20/4, 2010 at 0:51
3
Solved
I've asked another related question to this here: casting dynamic to static problem
I've gotten quite sick of XML configuration files in .NET and want to replace them with a format that is more sa...
Sladen asked 6/5, 2010 at 18:51
1
Solved
Is it possible and if so how, to make Visual Studio highlight dynamic expressions in code?
When I just hovered above some code, visual studio told me it was a dynamic expression. This made me real...
Topping asked 8/3, 2011 at 9:48
1
Solved
I am using the DLR within a small part of a larger C# project, IronPython being the language in question.
For some parts of the system the user is able to enter a small script to customise behavi...
Give asked 18/2, 2011 at 22:26
12
Solved
I have an affinity for python, but I work in a .NET environment, so I was looking into Iron Python, and wondering what it would be used for.
Could you write an app in it? or is it for addin...
Devanagari asked 2/12, 2010 at 14:47
3
Solved
How to convert a ExpressionTree of form
Expression<Func<POCO1, bool>> exp = p => p.Age > 50;
to
Expression<Func<POCO2, bool>> exp2 = p => p.Age > 50;
whe...
Breazeale asked 5/1, 2011 at 7:49
2
Solved
I'm just starting to try to learn more about the .Net VM underpinnings, and am immediately thrown off by something. I know there's this new thing called the DLR that allows for all the dynamic stuf...
Fishbein asked 23/12, 2010 at 1:20
1
What are some resources for making a CLR/.NET language debuggable? I'm developing an ActionScript 3 to IL compiler, which uses DLR CallSites and CallSiteBinders to handle the dynamic aspects of the...
Leandroleaning asked 5/12, 2010 at 4:43
5
Solved
We have an IDE for machine automation that allows its users to develop solutions by connecting objects and components visually. They can also write "plugins" using C++ and C#. The IDE is writ...
Miley asked 18/8, 2010 at 20:3
2
Solved
This is an offshoot question that's related to another I asked here. I'm splitting it off because it's really a sub-question:
I'm having difficulties casting an object of type dynamic to another (...
Londalondon asked 6/5, 2010 at 23:41
© 2022 - 2024 — McMap. All rights reserved.