Re: Smart textual editors

Mihai Christodorescu <mihai@west.net>
23 Jul 1996 23:38:33 -0400

          From comp.compilers

Related articles
Smart textual editors gupta@csc.ti.com (1996-07-15)
Re: Smart textual editors jacob@jacob.remcomp.fr (1996-07-18)
Re: Smart textual editors kanze@lts.sel.alcatel.de (1996-07-20)
Re: Smart textual editors gupta@csc.ti.com (1996-07-20)
Re: Smart textual editors mihai@west.net (Mihai Christodorescu) (1996-07-20)
Re: Smart textual editors bjm@dcs.ed.ac.uk (1996-07-22)
Re: Smart textual editors cuedng@uic.edu (Nick Geovanis) (1996-07-23)
Re: Smart textual editors mihai@west.net (Mihai Christodorescu) (1996-07-23)
Re: Smart textual editors peach@entrenet.com (1996-07-24)
Re: Smart textual editors darius@phidani.be (Darius Blasband) (1996-07-24)
Re: Smart textual editors pc@linus.mitre.org (1996-07-26)
Re: Smart textual editors yuval.peduel@channel1.com (1996-07-26)
Re: Smart textual editors bdynin@movil.com (1996-07-26)
Re: Smart textual editors balaji@platinum.com (1996-08-01)
| List of all articles for this month |

From: Mihai Christodorescu <mihai@west.net>
Newsgroups: comp.compilers
Date: 23 Jul 1996 23:38:33 -0400
Organization: West.Net Communications
References: 96-07-103 96-07-115 96-07-140 <m0uihhC-0003KCC@entrenet.entrenet.com>
Keywords: tools, comment

On Tue, 23 Jul 1996, Peach Microsystems wrote:


> How about an editor that just keeps track of what function the cursor is in
> and, whenever you move out of one function, does a syntax check on the
> function you've just left?
> Seems to me this would be much easier than an always-checking editor,
> and almost as useful.


For this we must make sure that the user gets at least one thing always
right: and that would be the opening and closing parantheses (of all kinds),
and also the punctuation ( ; , " etc). Otherwise we ("the editor") won't know
the function has ended.


Of course, a very clever editor would take into account the habits of the
programmer, such as leaving a blank line after the beginning another function
(that is my habit :-).


Mihai


Mihai Christodorescu
-------------------------------------------------------------------------------
                                                                                                                                  mihai@west.net
                                                            221 Estancia Place, Camarillo, CA 93012-5242, USA
                                                                                                          http://www.west.net/~mihai
[Twenty years ago there were Lisp DWIM editors that could usually figure
out when you meant a close paren but typed 0 (without the shift) instead.
-John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.