Re: QT Console
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 07/12/2013 12:47 AM, Nicos Angelopoulos (Univ. of York) wrote: > > Dear all, > > On Thu, 11 Jul 2013 16:54:27 +0200 > Jan Wielemaker <[email protected]> wrote: > >> I'm at the moment also looking into CodeMirror, which is an impressive >> in-browser (JavaScript) code editor. The current aim is more remote and >> collaborative developent of small snippets, but this might well turn out >> to be the basis of a browser based IDE for Prolog. Quite likely we will >> see IDE like features emerging around CodeMirror. The other nice thing >> is that we can run these tools in a browser, using XUL runner or inside >> the Qt/WebKit environment that Carlo is working on. The current >> challenge is to get semantically enriched highlighting to work. I worked >> out a promising route for that with help from Marijn, the CodeMirror >> lead developer. >> > a browser IDE does make alot of long term sense. Agree. > maybe emphasis should be put on getting the various bits together, > rather than polishing the editor first. (after assurances that it is possible with reasonable effort). > a move towards a browser based IDE would hopefully also help > with weeding out XPCE dependencies from the base system. > if there are any prototypes, do feel free to share. For the moment, I'm studying the possibilities for the editor. That is by far the hardest part and still not entirely clear whether a reasonable level of interaction and feedback is feasible. If people want to contribute, there are enough things to do. Think for example about nice rendering of a Prolog term such that you can expand and collapse it. Given that and the editor, a remote version of the guitracer is close. The current guitracer does not have a perfect split between graphics and the presentation neutral parts, but it is not that far away from that too. One of the good things is that the debugger already runs in a different thread than the thread being debugged. Cheers --- Jan