PTVS's parser (which is just a branch of the IronPython parser) supports this
so that we could implement the refactoring features. The nodes have a
ToCodeString method on them which you can call to get back the original code.
You'll need to parse in verbatim mode like so:
var pars
If that is the entirety of your solution's requirements, then if I were in your
shoes I would just cheat...
I presume ItemModule is a CLR namespace, sourced from an assembly you have
loaded via sys.AddReference (or similar technique). In that case, I would
create a mock version of that assembly
Hi all,
I was wondering if IronPython has the ability to reverse/unparse the AST back
into a ource file? Or if someone has perhaps built something to do so?
Here's what I'm trying to do:
I have a game I'm working on, and I'm currently drafting up tools for it. The
tools are being written i
hi,
I am trying to use openxml sdk v2.0 together with python 2.7.1 (was
2.7.0). I have managed to generate the mini document out of the csharp
(http://msdn.microsoft.com/en-us/library/dd440953%28v=office.12%29.aspx)
However if I try to do it from python, the produced document is
corrupted. Word c
Hi there everyone,
I'm currently trying to use a new API for a package
written in Python, that uses JSON for its calls.
However, I'm bumping into a problem where IronPython
throws me errors that it's missing a certain encoding
module. Concretely IDNA.
http://docs.python.org/library/codecs.html#