Marty,

You'll find a few little projects that revolve around a DLR editor,
including:

1) http://www.codeplex.com/IronEditor - last edited Jul 2008
2) http://codeplex.com/DlrPad - last edited Nov 2007

There were a group of us, largely from this mailing list, who discussed
 issues for such an editor/shell combo in Aug 2008. Notes available here:

http://wiki.roboteducation.org/IDE_Specs

From that discussion, I have been working on a cross-platform (Mono on
Linux/Mac, .NET on Windows), cross-language (currently Ruby and Python)
IDE for education, called Pyjama:

http://wiki.roboteducation.org/Pyjama

It is now in a pre-alpha state, and may not be at all what you are
looking for. Some points about Pyjama:

1) Can be built and run from Visual Studio (including Express) and
through Make files (on Mac and Linux)

2) Does not (yet) support some things that developers love (such as code
completion). As a IDE for beginners, this isn't necessarily a focus of
ours, but could probably be added.

3) As this is cross-platform, we have avoided P/Invokes. That means that
it can be (currently) sluggish doing some things like color syntax
highlighting on code.

4) Languages share a common environment, which allows them to share code
and data. The shell code can be run in its own thread, or in the same
thread as the IDE.

5) The current code is a hodge-podge of open source projects, and needs
some serious refactoring. However, most everything sorta works on all
platforms.

6) We had to do some tricky, crazy things to work around
bugs/issues/incompatibilities between/in Mono and .NET. We expect that
this will get better over time.

7) Many things are currently hardcoded (such as the languages). We image
that DLR language will be able to be added by simply dropping in the
DLLs in a folder.

If anyone would like to contribute to our effort (with code, comments,
feedback, etc) please feel free to join us! We imagine this to be a
long-term effort with sponsorship from grants and other funding
agencies. We have a codeplex Issue Tracker:

http://pyjama.codeplex.com/WorkItem/List.aspx

Hope this info helps!

-Doug

Marty Nelson wrote:
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 VSIP?)

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 on.

Thanks,

Marty Nelson

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Curt Hagenlocher
*Sent:* Wednesday, June 10, 2009 6:15 PM
*To:* Discussion of IronPython
*Subject:* Re: [IronPython] Checking syntax of source code without running it

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 <[email protected] <mailto:[email protected]>> wrote:

Hi,

 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
helpful.

 There are many options listed here for CPython:
http://stackoverflow.com/questions/205704/how-can-i-check-the-syntax-of-python-code-in-emacs-without-actually-executing-it



 Next stop, debugging..
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-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.


------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


--
Douglas S. Blank
Director, Institute for Personal Robots in Education (IPRE)
http://www.roboteducation.org
Chair, and Associate Professor, Computer Science, Bryn Mawr College
http://cs.brynmawr.edu/~dblank  (610)526-6501
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to