comp.lang.ada
 help / color / mirror / Atom feed
From: hack@watson.ibm.com (hack)
Subject: Re: Language support for  flexible handling of system-detected errors.
Date: 1 Apr 2002 15:53:39 GMT
Date: 2002-04-01T15:53:39+00:00	[thread overview]
Message-ID: <a89vq3$haq$1@news.btv.ibm.com> (raw)
In-Reply-To: a82c8r$3ar$1@nh.pace.co.uk

In article <a82c8r$3ar$1@nh.pace.co.uk>,
Marin David Condic <dont.bother.mcondic.auntie.spam@[acm.org> wrote:
>Two things: 1) Nobody building a compiler can possibly guarantee you that it
>will work with *your* editor since that could be just about anything. There
>is no "standard" interface to every editor on the planet, so this would be a
>hopeless goal.

Agreed -- it's the lack of the *concept* even of a standard interface that
hurts.  It could just be a chicken-and-egg problem -- but I'm afraid it's
worse because there isn't even a general desire for this kind of thing, as
far as I can tell.  

> 2) A compiler like GNAT provides a good deal of programming
>interface (such as ASIS) so that if you were so inclined, you could
>integrate it to your favorite editor with your own glue code - presuming, of
>course, that your editor of choice had the capabilities you need to invoke
>some code & utilize the results.

Clearly only those editors willing to do their share of communicating in a
general (and flexible, programmable) way can be considered.  For the simple
purpose of writing and testing programs, one can indeed cobble up the needed
interfaces.  For example, in my environment, many compilers access services
through an emulated OS/360 interface, and I have hooks in that interface that
allow the compilers to read out of the editor (thinking they are reading a
plain old sequential file).  But much more is possible if the compiler offers
an interface to check-parse strings, to enquire about types and symbols, etc.

My main point was *against* the closed nature of many IDEs, i.e. the view
that "integration" means to have in one place (and style) everything related
to a particular language or compiler -- as opposed to my view of "integration"
as to ability to communicate equally well, in a single familiar environment,
with many separate working environments (compilers, e-mail, runtimes etc.).

>I don't think its practical to ask of a language and IDE that it somehow
>connect to any given other piece of software anywhere. I don't know of any
>IDE that could achieve that goal.

Agreed -- it should only have to connect to one conceptual interface, which
other participating tools (such as editors, printers, e-mail systems etc.)
would also connect to -- without having to know about each other's particular
properties.

The Unix stdin/stdout pipe paradigm offers such a conceptual interface, but it
limited in that it is unidirectional.  (Pairs of pipes are possible, but lack
the needed synchronisation that *this* result belongs to *that* request.)

The CMS/YMS subcommand environment offers another, coroutine-like, conceptual
interface, where a program makes its services available via callback to other
programs invoked from it.  (This mechanism is very lightweight, so macros can
use it for high-performance automatic interaction involving tens of thousands
of requests per second.)

The mechanisms described above all assume communication via command strings
and result strings (plus return codes, if we're lucky).  THIS is what is
missing in a GUI-only tool.  There may be screen-scraping tools capable of
having a program "click" the 3rd button, read a button label or field content,
but the lack of layout consistency makes those tools awfully difficult to use.

Michel

>
>MDC
>--
>Marin David Condic
>Senior Software Engineer
>Pace Micro Technology Americas    www.pacemicro.com
>Enabling the digital revolution
>e-Mail:    marin.condic@pacemicro.com



  reply	other threads:[~2002-04-01 15:53 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <j8R78.48$Eh5.268@castor.casema.net>
     [not found] ` <f6013729.0202260913.59286c63@posting.google.com>
     [not found]   ` < <jbTm8.94778$702.21482@sccrnsc02>
     [not found]     ` <a7hkfe$bbt$1@pegasus.csx.cam.ac.uk>
     [not found]       ` <a7htp0$rh429@news.kvaerner.com>
2002-03-24  0:16         ` Language support for flexible handling of system-detected errors Adam Tissa
2002-03-24  0:46           ` Jim Rogers
2002-03-24  6:45             ` Tissa Adam
2002-03-24 19:58               ` Rodrigo Cunha
2002-03-25 10:17             ` Tim Shoppa
2002-03-26 23:29             ` Kent Paul Dolan
2002-03-24 11:38           ` Simon Wright
2002-03-24 12:42           ` Marc A. Criley
2002-03-24 14:56             ` Larry Kilgallen
2002-03-24 18:59               ` Steve Doiel
2002-03-26 22:42                 ` Adam Tissa
2002-03-27  6:31                   ` Simon Wright
2002-03-26 22:42                 ` Cost of Ada support Adam Tissa
2002-03-26 23:06                   ` Mark Johnson
2002-03-27  0:17                     ` Marin David Condic
2002-03-27 22:14                       ` Wes Groleau
2002-03-28 15:30                         ` Marin David Condic
2002-03-29  3:29                           ` Wes Groleau
2002-03-29 14:39                             ` Marin David Condic
2002-03-27 12:13                     ` Larry Kilgallen
2002-03-27  9:23                   ` Pascal Obry
2002-03-24 13:28           ` Language support for flexible handling of system-detected errors chris.danx
2002-03-25 12:32             ` Georg Bauhaus
2002-03-24 14:52           ` Paul Repacholi
2002-03-24 22:35           ` Greg Bek
2002-03-26  6:48             ` Richard Riehle
2002-03-25 10:42           ` Tarjei T. Jensen
2002-03-26 16:27           ` Wes Groleau
2002-03-28  3:10             ` Maynard Handley
2002-03-28  5:17               ` Andrew W. Reynolds
2002-03-28 15:03               ` Stefan Monnier <foo@acm.com>
2002-03-28 15:54                 ` Nick Maclaren
2002-03-28 16:19                 ` hack
2002-03-28 17:22                   ` Nick Maclaren
2002-03-28 18:49                     ` Marin David Condic
2002-03-29 10:04                       ` Nick Maclaren
2002-03-29 14:20                       ` Wes Groleau
2002-03-29 15:09                         ` Marin David Condic
2002-04-01 14:28                           ` Wes Groleau
2002-04-01 16:29                             ` Marin David Condic
2002-04-02 18:21                               ` Wes Groleau
2002-03-28 15:36               ` Marin David Condic
2002-03-29 14:49                 ` Larry Kilgallen
2002-03-29 16:56                   ` hack
2002-03-29 17:14                     ` Preben Randhol
2002-03-29 18:37                     ` Marin David Condic
2002-04-01 15:53                       ` hack [this message]
2002-04-01 16:47                         ` Marin David Condic
2002-04-02 17:15                           ` hack
2002-04-04 10:34                         ` pascal stenuit
2002-04-01 17:44                       ` Stephen Leake
2002-04-01 18:22                         ` Marin David Condic
2002-03-29 18:05                 ` tmoran
2002-03-29 18:41                   ` Marin David Condic
2002-03-30 13:46                     ` Larry Kilgallen
2002-04-01 15:35                       ` Marin David Condic
2002-03-28 15:39               ` Georg Bauhaus
2002-03-29 14:44                 ` Marin David Condic
2002-04-02  1:04                   ` David Hoyt
2002-04-02 21:51                   ` Maynard Handley
2002-04-03 14:34                     ` Marin David Condic
2002-04-04  3:34                       ` Mark Bottomley
2002-04-04 14:48                         ` Marin David Condic
2002-04-04 16:04                         ` Wes Groleau
2002-04-04  7:07                       ` Ketil Malde
2002-04-04 15:01                         ` Marin David Condic
2002-04-04 16:54                         ` Warren W. Gay VE3WWG
2002-04-04 17:56                           ` Marin David Condic
2002-04-05 16:57                             ` Warren W. Gay VE3WWG
2002-04-05 18:07                               ` Marin David Condic
2002-04-10 16:29                                 ` Warren W. Gay VE3WWG
2002-04-04  7:58                       ` Ingo Marks
2002-04-04 15:18                         ` Marin David Condic
2002-04-08 17:17                           ` Kevin Cline
2002-04-08 17:44                             ` Ingo Marks
2002-04-08 18:10                             ` Nick Maclaren
2002-03-28 17:01               ` Wes Groleau
2002-03-28 17:27               ` Pascal Obry
2002-03-28 18:45                 ` Simon Wright
2002-03-29  0:33                 ` Ned Holbrook
2002-03-29  2:19                   ` Tony Finch
2002-03-29  4:15                     ` Darren New
2002-03-29 14:50                     ` Marin David Condic
2002-03-30  3:38                       ` Larry Kilgallen
2002-04-01 14:31                         ` Wes Groleau
2002-04-01 15:46                         ` Marin David Condic
2002-04-02 18:28                           ` Wes Groleau
2002-04-02 18:48                             ` Marin David Condic
2002-04-03  7:17                             ` Adam Tissa
2002-04-03 17:58                               ` Darren New
2002-03-29 16:28                   ` Georg Bauhaus
2002-03-29 17:08                   ` hack
2002-03-29 17:38                     ` Nick Maclaren
2002-03-30 15:06                 ` Peter da Silva
2002-03-30 17:26                   ` Erik Corry
2002-03-28 22:37               ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox