of IronPython
*Subject:* Re: [IronPython] Building via AST
Ok awesome!
So now I have:
dynamic example = globals[Example];
dynamic instance = example();
Console.WriteLine(instance.Do());
But I'm getting an exception about a line number. Any idea how I can get
past that? I've tried
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Building via AST
Ok awesome!
So now I have:
dynamic example = globals[Example];
dynamic instance = example();
Console.WriteLine(instance.Do());
But I'm getting an exception about a line number. Any idea how I can get
past
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Justin Chase
*Sent:* Monday, April 12, 2010 4:09 PM
To: Discussion of IronPython Subject: Re: [IronPython] Building via AST
Ok, so at risk of being a nuissance I have one last question
of IronPython Subject: Re: [IronPython] Building via AST
Ok, so at risk of being a nuissance I have one last question because I feel
like I'm half way t...
___
Users mailing list
Users@lists.ironpython.commailto:Users@lists.ironpython.com
http
*Subject:* Re: [IronPython] Building via AST
I feel like I'm so close but something isn't quite working. Here is my
current code:
var runtime = Python.CreateRuntime();
runtime.LoadAssembly(typeof(IExample).Assembly
To: Discussion of IronPython
Subject: Re: [IronPython] Building via AST
Ok awesome!
So now I have:
dynamic example = globals[Example];
dynamic instance = example();
Console.WriteLine(instance.Do());
But I'm getting an exception about a line number. Any idea how I can get past
that? I've tried a bunch
Suppose I would like to build an AST programmatically and compile that into
an assembly dynamically (meaning an assembly flagged with RunAndCollect)
from C#. How would I do that with IronPython's help? I do not what to author
Python code and compile that I would like to just deal directly with the
Of Justin Chase
Sent: Monday, April 12, 2010 1:21 PM
To: users@lists.ironpython.com
Subject: [IronPython] Building via AST
Suppose I would like to build an AST programmatically and compile that into an
assembly dynamically (meaning an assembly flagged with RunAndCollect) from C#.
How would I do
PM
*To:* users@lists.ironpython.com
*Subject:* [IronPython] Building via AST
Suppose I would like to build an AST programmatically and compile that into
an assembly dynamically (meaning an assembly flagged with RunAndCollect)
from C#. How would I do that with IronPython's help? I do
: [IronPython] Building via AST
Ok so I'm wondering if I'm perhaps using the wrong words to try to say what I
mean. Because when I look into the IronPython source code I see a class called
Microsoft.Scripting.Generation.TypeGen
(http://ironpython.codeplex.com/SourceControl/changeset/view/65328
not a big deal.
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Justin Chase
*Sent:* Monday, April 12, 2010 2:03 PM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Building via AST
Ok so I'm wondering if I'm perhaps using
...@lists.ironpython.com] On Behalf Of Justin Chase
Sent: Monday, April 12, 2010 4:09 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Building via AST
Ok, so at risk of being a nuissance I have one last question because I feel
like I'm half way there. I have the following example that seems to work
if it works! J
*From:* users-boun...@lists.ironpython.com [mailto:
users-boun...@lists.ironpython.com] *On Behalf Of *Justin Chase
*Sent:* Monday, April 12, 2010 4:09 PM
To: Discussion of IronPython Subject: Re: [IronPython] Building via AST
Ok, so at risk of being a nuissance I have one last question
13 matches
Mail list logo