comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: Standard Ada program w\ all (possible) features
Date: 1996/10/07
Date: 1996-10-07T00:00:00+00:00	[thread overview]
Message-ID: <53b8j0$cid@felix.seas.gwu.edu> (raw)
In-Reply-To: 1996Oct7.101423.1@eisner


In article <1996Oct7.101423.1@eisner>,
Larry Kilgallen <kilgallen@eisner.decus.org> wrote:
>In article <32585204.41C6@cs.fiu.edu>, Ruibiao Qiu <rqiu01@cs.fiu.edu> writes:
>
>> Where can I get a sample program that includes as many as 
>> ada features as possible?
>
>I hope the answer is the validation suite (although perhaps not
>meeting an implicit single program requirement).
>
>Larry Kilgallen

The validation suite consists of many, many programs and doesn't come
close to what this student is after. We do need to point out that
a reasonable Ada "program" typically consists of a main and several
packages; a monolithic Pascal-style program is simply not Ada-like.

Actually, the instrument panel example from the GNAT samples library
is a quite good approximation to what this student is looking for. 
It shows generics, dynamic data structures (linked lists), and type 
extension/dispatching quite nicely, in addition to the usual syntactic 
stuff. 

Tasking is missing; also user-defined exceptions. But as a concise
example of most of Ada 95, I'd recommend it highly. It's included 
with every GNAT distribution archive.

Mike Feldman




  reply	other threads:[~1996-10-07  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-06  0:00 Standard Ada program w\ all (possible) features Ruibiao Qiu
1996-10-07  0:00 ` Robert Dewar
1996-10-16  0:00   ` James Squire
1996-10-17  0:00     ` Robert Dewar
1996-10-18  0:00       ` Geert Bosch
1996-10-07  0:00 ` Larry Kilgallen
1996-10-07  0:00   ` Michael Feldman [this message]
1996-10-16  0:00   ` James Squire
1996-10-17  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