comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada Compiler for Educational Use
@ 1988-05-16 18:29 "Vladimir Ivanovic, x3-7786"
  0 siblings, 0 replies; 7+ messages in thread
From: "Vladimir Ivanovic, x3-7786" @ 1988-05-16 18:29 UTC (permalink / raw)


pattis@june.cs.washington.edu (Richard Pattis) asks for comments on Ada
compilers. 

I am using DEC's Ada compiler running under VAX/VMS , its librarian (ACS), the
Source Code Analyzer (SCA), the Language Senstitive Editor (LSE), and the
symbolic debugger (DEBUG). 

The error messages from the compiler are excellent, the best I have ever seen.
From within LSE, the compiler will very often attempt a correction of some
simple syntactic error, like adding a semi-colon, adding a terminating END IF,
or a missing BEGIN.  Surprisingly, it is seldom wrong.  

Errors due to mismatched argument types are also quite good.  The compiler tells
you which procedures it has checked with which arguments of what type and why it
has rejected those attempts at overload resolution.

In every case, references to the paragraphs in the LRM which are relevant
to the error message are given.

LSE knows Ada syntax and will generate stubs for every construct.  What it
generates is actually user-modifiable, so it's possible to add local coding
conventions.

Compiler generated machine language code is available, tied to the original
source lines.  This is a feature I feel is mandatory for any compiler to be
called of professional quality.  It allows one to distinguish between very
subtle bugs in your code, or genuine compiler bugs.

The Source Code Analyzer allows almost instant access to every occurrence of an
identifier, sorted by whether it is a declaration, a read reference or a write
reference.  Call trees and inverted call trees can be generated. The full power
of SCA is available from within LSE. 

The debugger is actually language independent.  It behaves the same way when you
are debugging a routine written in any DEC-supported language.  DEC uses the
fact that their compilers generate code that follows the VAX/VMS Calling
Standard as well as a symbol table convention to permit languages to call
routines written in other languages transparently.  The debugger does know about
features that are particular to Ada, like multi-tasking.  It is possible to set
break points on task events like TERMINATED or RUN or RENDEZVOUS_EXCEPTION.
Naturally, the debugger is a source line, symbolic debugger.  You can execute
debugger commands on every break, whenever a variable is modified, whenever a
particular address is accessed or whenever a particular class of intstruction is
used. Effectively you have debugger-aware language.

With a little work, it is possible to create an environment where the edit,
compile, link and debug cycle is quite fast.  I keep one process around for
the edit/compile portion and another for the link/debug.  One keystroke allows
me to switch between them.  It's not as integrated as say the Lightspeed
Pascal environment is on the Macintosh, but I find it quite good.  I'd be
hard pressed to suggest improvements, except for the obvious lack of cut
and paste between processes/windows.  (I have a VaxStation 2000.)

I actually cross-compile my programs to a VAXELN machine.  (VAXELN is a
distributed, real-time operating system toolbox for VAXs that DEC sells and
supports.)  So I compile, link and use the debugger from one node and run the
program on another.  A few switches and the operations I do are essentially
identical to the single node, vanilla VMS version.

I have no hesitation in recommending DEC's Ada system.  However, understand
that quality is expensive, though DEC does have an educational discount. 


-- Vladimir

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Ada Compiler for Educational Use
@ 1988-05-19 23:05 Gail Potts @spot
  0 siblings, 0 replies; 7+ messages in thread
From: Gail Potts @spot @ 1988-05-19 23:05 UTC (permalink / raw)



In response to a recent note posted by Ed Cragg, TeleSoft would like
to clarify what Ed's experiences were. Ed stated that "TeleSoft Ada did
not do anything."  After checking our files, it was determined that
Ed was using TeleSoft Ada from four years ago. Since that time, TeleSoft
has released our second generation technology, TeleGen2.  TeleGen2 is
a completely different product line than the product that Ed based his
comments upon.

Ed further commented that "The TeleSoft reps were not very helpful 
either".  I cannot speak to Ed's personal experiences of four years 
ago, but I would like to state that today, TeleSoft has a dedicated Customer 
Support department which has helped customers write and debug applications
encompassing millions of lines of code. 

Thank you for allowing me to indulge in this clarification.

Gail Potts
TeleSoft Customer Support
(619) 457-2700

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Ada Compiler for Educational Use
@ 1988-05-14  1:51 "EDWARD CRAGG"
  0 siblings, 0 replies; 7+ messages in thread
From: "EDWARD CRAGG" @ 1988-05-14  1:51 UTC (permalink / raw)


> Date: Thu, 12 May 88 09:44:03 PDT
> From: pattis@june.cs.washington.edu (Richard Pattis)
> Subject: Ada Compiler for Educational Use
> 
>   I have been teaching the CS-1 and CS-2 courses here at the University of
> Washington in Modula-2 for the past 4 years.  I am now strongly considering
> teaching Ada in these classes.  I would like to solicit recommendations for
> compilers: we use a large VAX/VMS for instruction, but will also ultimately
> need compilers for our own department's machines (mostly VAX/ULTRIX and Suns).
> I am looking for a system with short compile times and good error diagnostics;
> fast run times are not as important.  We typically have 20-40 students logged
> on at once.  Also, I am interested in other language related tools, such as
> language sensitive editors, debuggers, and profilers. I hope to direct the
> Computer Center while it examines a few compilers early in the summer, and
> then choose one for use this Fall.  I'd appreciate any relevant comments.

  I have used DEC Ada, TeleSoft Ada, VERDIX Ada, and the ALS/N CAB all under
VAX/VMS.

  If you have the funds, DEC Ada gives by far the most detailed diagnostic
messages and has the best librarian.  Furthurmore, its documentation is superb,
if expensive (LRM @ $50, Developing programs guide @ $25, and Runtime guide @
$25).  Finally it is fully integrated with both the DEC Debugger and Performance
Coverage Analyzer.   I have found that class room demonstrations using the
debugger have been most effective both in showing execution and showing the
effects of optimization.  It would be my system of choice. 

   TeleSoft Ada did not do anything.  I ended up canceling the class 1/2 way
through the course because it was so poor.  The TeleSoft reps were not very
helpful either which bothered me because were were a cash customer -- paying
$15K as I recall.   I recommended that we attempt to get a refund, but the
powers that be chose not to. 

   Verdix was so vanilla that it left no real impression.  We tested a VADS
for several weeks, and got programs running but we did not pursue the system
furthur.  As best I remember the documentation was not the best and it took
quite a few false starts to get the programs running.  Since we were running
test programs which had been developed under other systems, we did not have
many diagnostics.

   The ALS/N CAB is the system we are using, for funding reasons.  (Its hard to
beat $75). My biggest criticism is the quality of the diagnosic messages and
the interpretation of how TEXT_IO GETs and PUTs are interlaced.  (They are
interlaced at the line level, rather than at the character level). This latter
problem we are resolving by writing an IMMEDIATE_IO package which does what its
name implies by calls to QIO.  The July release is advertised to include an
interactive debugger. 

-------------------------------------------------------------------------------
Edward E Cragg                Bitnet:   ECRAGG@GMUVAX
                              Internet: ECRAGG@GMUVAX.GMU.EDU

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Ada Compiler for Educational Use
@ 1988-05-12 16:44 Richard Pattis
  1988-05-14  0:51 ` Roger Vossler
  1988-05-15  6:02 ` Barnacle Wes
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Pattis @ 1988-05-12 16:44 UTC (permalink / raw)



  I have been teaching the CS-1 and CS-2 courses here at the University of
Washington in Modula-2 for the past 4 years.  I am now strongly considering
teaching Ada in these classes.  I would like to solicit recommendations for
compilers: we use a large VAX/VMS for instruction, but will also ultimately
need compilers for our own department's machines (mostly VAX/ULTRIX and Suns).
I am looking for a system with short compile times and good error diagnostics;
fast run times are not as important.  We typically have 20-40 students logged
on at once.  Also, I am interested in other language related tools, such as
language sensitive editors, debuggers, and profilers. I hope to direct the
Computer Center while it examines a few compilers early in the summer, and
then choose one for use this Fall.  I'd appreciate any relevant comments.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1988-05-19 23:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-05-16 18:29 Ada Compiler for Educational Use "Vladimir Ivanovic, x3-7786"
  -- strict thread matches above, loose matches on Subject: below --
1988-05-19 23:05 Gail Potts @spot
1988-05-14  1:51 "EDWARD CRAGG"
1988-05-12 16:44 Richard Pattis
1988-05-14  0:51 ` Roger Vossler
1988-05-15  6:02 ` Barnacle Wes
1988-05-19 17:25   ` Dennis Doubleday

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