comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: IDE's that support ADA
Date: Mon, 03 Nov 2014 13:24:53 +0100
Date: 2014-11-03T13:24:53+01:00	[thread overview]
Message-ID: <87a948sc8a.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: 85egtqwnte.fsf@stephe-leake.org

* Stephen Leake:

> Meaning it attempts to parse the syntax after typing every character? So
> if you start typing 'if ... then ... else .. end if', you get errors
> until you type 'endif'? Yuck.

You get red squiggly lines under the code, much like in a word
processor with on-the-fly spell checking.  I find that completely
non-intrusive.  It does not even take up valuable screen real estate.

> Hmm. You said "semantic", not "syntactic". So this means a full compile
> with name and type resolution, not just a syntax parse. That makes sense
> for simpler languages; I don't think it makes much sense for Ada.

I don't think semantic analysis on partial programs is more difficult
for Ada than for C++ (in fact, it's probably easier in many common
cases because there is less ambiguity between expressions and types).
Semantic completion has been implemented for C++, I don't see why it
would be technically infeasible for Ada.  There are areas which are
rather difficult, like ambigous overloads which are only resolved once
more program text is available, but so are lambda expressions in Java
8, and IDE will manage somehow.

Actually, I would consider it rather useful.  It's not just the
auto-completion, you'd also bee able to see docstrings of referenced
entities while typing (this functionality is reasonably easy to add
once you now where those entities are defined).  That I would find
rather useful.


  parent reply	other threads:[~2014-11-03 12:24 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 18:34 IDE's that support ADA nathandsash
2014-10-26 18:58 ` Martyn Pike
2014-10-26 19:02 ` Niklas Holsti
2014-11-14 22:38   ` rriehle
2014-11-16  0:38     ` David Botton
2014-10-26 21:33 ` David Botton
2014-10-29  1:52   ` Robert Love
2014-10-29  1:58     ` David Botton
2014-11-05 20:58       ` Wesley Pan
2014-10-28  7:38 ` Stephen Leake
2014-10-28 11:43   ` Peter Chapin
2014-10-29 21:47     ` Stephen Leake
2014-10-29 23:28       ` Peter Chapin
2014-10-29 23:48         ` Adam Beneschan
2014-11-01 21:58           ` Stephen Leake
2014-11-03 17:48             ` Adam Beneschan
2014-10-30  8:19         ` Dmitry A. Kazakov
2014-10-30 14:42           ` Adam Beneschan
2014-10-30 16:22             ` Peter Chapin
2014-11-01 22:01               ` Stephen Leake
2014-11-02 15:13                 ` Peter Chapin
2014-11-03 13:41                   ` Stephen Leake
2014-11-03  9:43                 ` IDE's that support Ada Jacob Sparre Andersen
2014-11-03 18:14                   ` Simon Wright
2014-11-04 17:46                   ` Stephen Leake
2014-11-04 19:35                     ` Simon Wright
2014-11-04 20:36                     ` Jacob Sparre Andersen
2014-11-05 14:25                       ` Stephen Leake
2014-11-01 21:53         ` IDE's that support ADA Stephen Leake
2014-11-01 22:46           ` Dmitry A. Kazakov
2014-11-02 15:10           ` Peter Chapin
2014-11-03 13:38             ` Stephen Leake
2014-11-03 17:00           ` Luke A. Guest
2014-11-03 18:52             ` David Botton
2014-11-03 19:50               ` Luke A. Guest
2014-11-03 20:46                 ` David Botton
2014-11-03 22:55                   ` Luke A. Guest
2014-11-04 18:11                     ` Stephen Leake
2014-11-04  3:41                 ` Dennis Lee Bieber
2014-11-04 18:10                 ` Stephen Leake
2014-11-04 18:03             ` Stephen Leake
2014-11-03 12:24       ` Florian Weimer [this message]
2014-10-28 12:59   ` David Botton
2014-10-29 21:51     ` Stephen Leake
2014-11-11  0:11 ` Hubert
2014-11-11  0:31   ` David Botton
replies disabled

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