[comp.lang.modula2] M-2, Pascal, and Zowie!!! _Ada_!

S703975@UWEC.BITNET (ANDREW TREMBLEY) (12/04/89)

Here at UWEC, our introductory level courses use Turbo 4.0.  This is done
partly because of the ease of using a compiler with integrated editor on
a single user system.  for Data Structures coursework, we're currently using
modula (primarily because of its opaque types).  It happens to be the
Logitech/Hamburg for VMS.  The version which we have has at least three
very nasty bugs which crash the compiler (If anyone wants a description,
drop me a note and I'll find out exactly what they are, and exactly what
they do).

Anyway, the current situation now is to keep pascal for the intro level
courses--it frees up our four VAXstation II's and our 11/750, and use M-2
for the sophomore and higher level courses in which pascal or modula would
be appropriate.  However, there is the possibility/likelihood that for these
courses we may be switching to Ada.  The reasons are:  it's Digital's compiler,
and we can go screaming to them if something goes wrong.  It's also
(practically) free.  There are other reasons, mostly relating to the way
that Ada can handle generic procedures and such.

The Logitech M-2 compiler is really a port of Wirth's code to other systems
by Frankfurt University (don't ask me were Hamburg comes in with the name--
I assume that there's no relation to the city) which is distributed in the
US by Logitech.  Therefore (as last I heard) Logitech can't do much to
support it, and my Data Structures professor (who has spent much time
talking to Logitech support teams) says that Logitech may even disown the
compiler completely.

This isn't to say that I dislike Logitech myself--I haven't crashed it myself,
tho others I know have, and I prefer its error handling system over Turbo Pascal
by leaps and bounds.  It's so much easier if you can go through and correct a
bunch of errors all at once instead of recompiling every time you correct an
error.

Andy Trembley
S703975 @ uwec.bitnet

Oh, and one question:  does anyone know how Met-Com Modula-2 handles NEW and
DISPOSE.  I'd like to use it to write and debug my code before dumping it to the
VAXcluster for collection, but can't very well do that if I can't use NEW and
DISPOSE for my hidden types.  If I could get this to work, I could do my work
on the Mac, use GREP to find my changes, and switch the stuff over rather
painlessly.

dankesehr

sbrunnoc@HAWK.ULOWELL.EDU (Sean Brunnock) (12/04/89)

S703975@UWEC.BITNET (ANDREW TREMBLEY):
> The version which we have has at least three
> very nasty bugs which crash the compiler (If anyone wants a description,
> drop me a note and I'll find out exactly what they are, and exactly what
> they do).

   Could you please tell me? And also could you tell which version you
are using? Thanks.


					Sean Brunnock

drc@AMES.ARC.NASA.GOV (Dennis Cohen) (12/04/89)

I don't know quite what your question regarding how MetCom implements NEW
and DISPOSE means.  On the surface, they are implemented as wrappers around
ALLOCATE and DEALLOCATE; however, if your question is seeking more information
than that, I'll check it and get back to you.  I also have a couple of other
Macintosh Modula-2 compilers (my favorites are the ones that run under MPW)
if you have any questions concerning them.
--
Dennis Cohen
Claris Corp.
 ****************************************************
Disclaimer:  Any opinions expressed above are _MINE_!
 ****************************************************

abrodnik@WATDRAGON.WATERLOO.EDU ("Andrej Brodnik ", Andy) (12/05/89)

In article <891203.15352902.095605@UWEC.CP6> you write:
>... The version which we have has at least three
>very nasty bugs which crash the compiler (If anyone wants a description,
>drop me a note and I'll find out exactly what they are, and exactly what
>they do).
>

Hi!

I'd like to see the beasts!

Thank you

Andrej