Yes, I like eric 4 I think this would be indeed the best plan for a sage IDE
Pablo On 8/10/07, William Stein <[EMAIL PROTECTED]> wrote: > > On 8/10/07, Pablo De Napoli <[EMAIL PROTECTED]> wrote: > > > > If you want to create an IDE for sage, probably the best thing to do > > would be start from some python IDE, perhaps some IDE that > > supports plug-ins, I don't know if there is any. > > There are several very sophisticated Python IDE's. At least one > is open source: > > http://www.die-offenbachs.de/eric/index.html > > I used to use it a lot, long ago. > > Eric4 (the above linked one) is written in Python against the Qt > library. I suspect one could build SAGE's Python with Qt bindings, > then build Eric4 into it, and suddenly have Eric4 as a very sophisticated > IDE for SAGE, i.e., by starting it as follows > sage: !eric # or eric4 or whatever the command line option is. > > -- William > > > > > Pablo > > > > On 8/10/07, William Stein <[EMAIL PROTECTED]> wrote: > > > > > > On 8/9/07, Ted Kosan <[EMAIL PROTECTED]> wrote: > > > > For the past few weeks I have been putting together a cross platform > > > > IDE for Sage. It is based on jEdit, it has most of the features that > > > > a typical programmer's text editor has, and it can also be extended to > > > > support Java3D. My next step is to add the protocol to it that is > > > > needed to talk with the Notebook server. > > > > > > This is very interesting. I haven't yet tried the java program below, > > > but your email raises the questions of what exactly is the protocol > > > needed to talk with the server. There is one, but it isn't really written > > > down anywhere. One can partially reverse engineer it either by looking > > > at the javascript in the notebook itself, in the file > > > SAGE_ROOT/devel/sage/sage/server/notebook/js.py > > > or by looking mainly at the file > > > SAGE_ROOT/devel/sage/sage/server/notebook/twist.py > > > which actually maps URL's and post/get requests to actual actions. > > > Undoubtedly, you'll rapidly run into situations where the current > > > "notebook server protocol" doesn't do everything you need, or > > > does things in a way that is possibly too confusing. Please > > > post when that happens. > > > > > > Just as a very quick overview, most things are done using > > > very simple URL's. For example, the print version of worksheet 9 > > > is got via: > > > http://localhost:8000/home/admin/9/print > > > and there are numerous other worksheet-related commands that > > > are all of the form > > > http://localhost:8000/home/admin/9/command_name > > > > > > Probably in many cases, without modifying the notebook server, > > > you'll have to do lots of "html --> something else" parsing in > > > your java / SAGE IDE ? This is perhaps not desirable, and could > > > be avoided by adding some more functionality to twist.py. > > > > > > Anyway, perhaps you could post back with a few examples of > > > specific things you'll need from the notebook server for your java > > > ide, and I can think about how best to actually do them? > > > > > > -- William > > > > > > > Anyway, the application can be downloaded from the following URL if > > > > anyone is interested in looking at it: > > > > > > > > http://206.21.94.60/tmp/sageide_dist.01.zip > > > > > > > > Java needs to be installed in order to run the IDE. For people that > > > > use Windows, Java can be obtained here: > > > > > > > > http://java.com > > > > > > > > Just unzip the archive and execute either the run.bat script or the > > > > run.sh script in order to launch the application. > > > > > > > > Ted > > > > > > > > > > > > > > > > > > > > > > -- > > > William Stein > > > Associate Professor of Mathematics > > > University of Washington > > > http://www.williamstein.org > > > > > > > > > > > > > > > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://www.williamstein.org > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
