comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: [Q] Tools for Ada Quality and Style
Date: 1996/04/30
Date: 1996-04-30T00:00:00+00:00	[thread overview]
Message-ID: <Dqp2vn.IoK@world.std.com> (raw)
In-Reply-To: 4xenp57jj1.fsf@leibniz.enst-bretagne.fr


In article <4xenp57jj1.fsf@leibniz.enst-bretagne.fr>,
Laurent Guerby <Laurent.Guerby@enst-bretagne.fr> wrote:
>   A bit of FSF  commercial ;-), here  are the feature  you mentioned,
>and how they are provided with emacs/gnat/gdb :

Yeah, it's pretty nice, and I use it all the time.  But let me play
Devil's Advocate for a moment.

>- Pretty printer integrated (emacs font(lazy)-lock plus ps-print).

Which sometimes garbles the code.  Often enough that I can't really
trust it to format large regions of code, without checking what it did,
by hand.  It doesn't really understand the entire syntax of Ada
correctly.  (I'm talking about bugs here, not just disagreements on
formatting style.)

>- Find definition of everything (procedure, types)  since the Ada mode
>parses gnatf outpout).

And the gnatf output is usually out of date, because there's no easy and
fast way to keep it up to date with my latest keystrokes.

>- RCS or CVS support (with systematic window for log entry).
>
>- Customization (sometimes seen as a  nightmare for emacs user but not
>so difficult if you read the manuals ;-).

Easy customization is a two edged sword.  It means the designer of the
program doesn't need to make it do something reasonable by default,
because, hey, anybody who doesn't like it can change it.  I've done a
small amount of Emacs-Lisp programming, and I agree, it's not all that
difficult, but still, why should an Ada programmer have to learn how to
program Emacs?  (Counter argument: learning Lisp, or any dialect
thereof, is good for the soul.  ;-) )

>- Integrated multi language debugger gud/gdb (with a bit of experience
>it works for tasking and distributed programming).

Gdb's understanding of Ada is still pretty immature, IMHO.  The
integration with Emacs is nice, though.  Most of my bugs (if not caught
at compile time) are some sort of assertion or constraint check failure
that localized the problem pretty well (when I'm lucky!), and then the
incorrect code is sitting right there ready to be edited.  But when I go
beyond those simple (usual) cases, gdb gets confused.

>- Multi sources syntactic and semantic checks with window and point on
>error ala Turbo Pascal (with the GNAT messages in bonus).

The Devil has nothing to say here.  Yes, this is quite nice.

>- Cross reference  tool, gnatf  (ASIS  soon, may be  integrated  under
>emacs).

Again, how do you keep the output up to date?

>-  ACT coding standard  (syntactic) switch plus  some tools to do some
>minor reformatings.

Last time I checked, the ACT coding standard wasn't documented very well
-- you have to guess what it is by looking at existing code, and dealing
with error messages from the style checker.

>- Reformater on demand (non too much intrusive).

Not sure how this is different from the first item.

>   Of course it's worth every  penny ;-). ...

Agreed.  I use it every day!  ;-)

- Bob




  parent reply	other threads:[~1996-04-30  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-17  0:00 Ada naming conventions? Bob Crispen
1996-04-17  0:00 ` Michael F Brenner
1996-04-25  0:00 ` [Q] Tools for Ada Quality and Style JP Thornley
1996-04-26  0:00   ` Ken Garlington
1996-04-27  0:00   ` Bob Crispen
1996-04-28  0:00     ` Robert Dewar
1996-04-29  0:00       ` JP Thornley
1996-04-30  0:00         ` Ken Garlington
1996-04-30  0:00       ` Peter Milliken
1996-04-30  0:00         ` Ken Garlington
1996-04-30  0:00         ` Robert Dewar
1996-05-05  0:00           ` Geert Bosch
1996-05-07  0:00             ` Peter Milliken
1996-04-30  0:00         ` David Sanderson, IV
1996-05-01  0:00         ` [Q] Tools for Ada Quality and Style [LONG] Laurent Guerby
1996-05-02  0:00           ` Robert A Duff
1996-05-02  0:00             ` Robert Dewar
1996-05-02  0:00           ` Robert Dewar
1996-05-02  0:00             ` Robert A Duff
1996-04-30  0:00   ` [Q] Tools for Ada Quality and Style Laurent Guerby
1996-04-30  0:00     ` Frank Falk
1996-04-30  0:00       ` David Weller
1996-05-04  0:00         ` LJMetzger
1996-05-04  0:00           ` Robert Dewar
1996-04-30  0:00     ` Robert A Duff [this message]
1996-05-06  0:00   ` Rolf Ebert
  -- strict thread matches above, loose matches on Subject: below --
1996-04-30  0:00 Bob Crispen
1996-04-30  0:00 ` Robert Dewar
1996-05-01  0:00   ` Bob Kitzberger
1996-05-02  0:00     ` Robert A Duff
1996-05-02  0:00     ` Robert Dewar
replies disabled

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