comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: [Q] Tools for Ada Quality and Style [LONG]
Date: 1996/05/02
Date: 1996-05-02T00:00:00+00:00	[thread overview]
Message-ID: <dewar.831033677@schonberg> (raw)
In-Reply-To: 4xwx2w8dn5.fsf_-_@leibniz.enst-bretagne.fr


Bob Duff said

": 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."

The ACT coding syle is split into two parts:

1. THings that are enforced by the undocumented switch -gnatg. This switch
is much more than a style switch, and in particular it makes the copiler
operate in a mode that is not consistent with the Ada 95 reference manual.
It is definitely for internal use only, and people using it will get a 
shock in some future release when additional restrictions are added without
warning! These requirements are documented *internally* in style.adb. hey
are quite deliberately NOT documented externally.

2. More general style points that are not enforced (except by Dewar reading
every line of code that is checked in and correcting it if necessary :-)
In practice such corrections are less and less frequent, because at this

point people udnerstand the conventions. They are partially written up in
an internal document, and could be further documented, although there is
always the last epsilon where the style rules ultimately say "lay things
out in an elegant style", where it is hard to pin down the last details.

It would be nice to have full documentation of the GNAT style. This is on
the list of things to do.

It would be nice to have separate options for enforcing various style
rules. This is on the list of things to do.





  parent reply	other threads:[~1996-05-02  0:00 UTC|newest]

Thread overview: 26+ 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         ` David Sanderson, IV
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         ` Ken Garlington
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 [this message]
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     ` Robert A Duff
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-05-06  0:00   ` Rolf Ebert
replies disabled

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