🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2196

p1 Modula-2 on the Macintosh

#2196
From: martino
Date: Tue, 15 Dec 1992 20:03
45 lines
2720 bytes
>>p1 is no longer available from Elmar Henne (ger.xse0109@applelink.apple.com)?

>I presume this was a question. I'd forgotten about p1. In the US, only
>Metrowerks is in business that I know of. And you don't see ads here for
>the p1 compiler. So it doesn't get much use in the States. This is not to
>imply that the product is inferior or deficient in any way.

The p1 compiler is very much alive and well.  I am using the current
version and am very happy with it.  It is advertised in every Apple
Programmers and Developers Association (APDA) tools catalog.  You can order
it by simply calling APDA at 1-800-282-2732.

Unfortunately, it is much more expensive than the Metrowerks compilers,
and will cost you $345 for the compiler, $150 for the MPW environment, and
$40 for the MPW runtime libraries.

However, if the cost doesn't concern you, this is probably the Macintosh
compiler of choice.  Make sure to get the new version (5.0), which
is a major improvement over the previous versions.

Version 5.0 features a new code generator, and compilation speeds are
around 5000 LPM.  The resultant application speed is comparable to Apple's
MPW Pascal compiler.

Version 5.0 conforms to the current ISO draft standard for Modula-2, so it
has value constuctors, complex numbers, exceptions, and the ISO Standard
libraries.  It also supports the much simpler MODUS Standard libraries.

The compiler also does a good job of supporting the Macintosh environment.
There are definition modules for all of the Macintosh toolbox interface (as
of MPW 3.2.3), and the compiler's SYSTEM module has built in HANDLE,
EXTENDED, and STR255 types.  For toolbox calls, the compiler automatically
converts an ARRAY OF CHAR to a STR255 for you.  In addition, the compiler
has object oriented extensions similar to MPW Pascal and supports MacApp
3.0.1.  It also supports variables and module code size greater than 32k.
And of course, you can link your code with other MPW languages.

You also get a very nice debugger with the compiler.  In the future, they
plan to add support for the SADE debugger, and to support MPW's "32-bit
everything" option.

----
Marc Martin
Boeing Space & Defense Group, Seattle, WA, USA
Internet: martino@alseng.boeing.com
Technical Details
Message-ID: <9212152003.AA06586@atc.boeing.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ALSENG.BOEING.COM!martino

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ALSENG.BOEING.COM!martino
From: martino@ALSENG.BOEING.COM
Newsgroups: comp.lang.modula2
Subject: p1 Modula-2 on the Macintosh
Message-ID: <9212152003.AA06586@atc.boeing.com>
Date: 15 Dec 92 20:03:19 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@uga.cc.uga.edu>
Distribution: world
Organization: The Internet
Lines: 45