[IronPython] Need for third-party embeddable Iron Python Editor

Marty Nelson Marty.Nelson at symyx.com
Thu Jun 11 18:24:17 CEST 2009

What is that state of a prebuilt Python Editor?  My understanding is
that there are bits and pieces, and stuff that was never brought up to
2.x, but nothing comprehensive currently exists.  Maybe I just don't
know what is available (anything in Visual Studio we could use via


For those of us that use IronPython as an application extensibility
mechanism, we could really use this functionality (and would be willing
to pay for it if it were a third-party component we could purchase).
It's not our core competency and not something we want to use resources




Marty Nelson


From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Curt
Sent: Wednesday, June 10, 2009 6:15 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Checking syntax of source code without running


Through the hosting API, it's something like this:


engine = IronPython.Hosting.Python.CreateEngine()

source = engine.CreateScriptSourceFromString(text, SourceCodeKind.File)

errors = ErrorListener()

command = source.Compile(errors)

if command is None:

    # compilation failed


Here, ErrorListener is some class that derives from
Microsoft.Scripting.Hosting.ErrorListener and stores the errors.


On Wed, Jun 10, 2009 at 12:52 PM, Harri Vartiainen
<harri.vartiainen at iki.fi> wrote:


 What's the best way to check syntax of IronPython source code without
actually running it?

 I'd like to embed IronPython to application and make it as user
friendly as possible, so all checking before running the code would be

 There are many options listed here for CPython:

 Next stop, debugging..
Users mailing list
Users at lists.ironpython.com


Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. or any of its affiliates or
subsidiaries that may be confidential, proprietary, copyrighted,
privileged and/or protected work product, and is meant solely for
the intended recipient. If you are not the intended recipient, and
have received this message in error, please contact the sender
immediately, permanently delete the original and any copies of this
email and any attachments thereto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20090611/57569aec/attachment.html>

More information about the Ironpython-users mailing list