comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Writing a Mac Ada compiler
Date: Wed, 8 Mar 1995 02:09:16 GMT
Date: 1995-03-08T02:09:16+00:00	[thread overview]
Message-ID: <D53nBG.LEy@inmet.camb.inmet.com> (raw)
In-Reply-To: 3jg167$a3l@nic.umass.edu

Mike White (cons116@twain.oit.umass.edu) wrote:

: Could anyone give me an idea of about how much of an effort it would be
: to write an Ada compiler for the mac/powermac (or if youve had similar
: experience on other computers...).  I am quite dismayed by the general
: lack of Ada support on the mac and I figure others are too.  I have heard of
: compilers being ported to the mac, but a) I'd rather not wait and 
: b) I imagine it would be quite a learning experience.  Call me crazy.
: Anyways, would it be MUCH more difficult to write an ada 9x compiler
: than ada83?

Writing a full compiler for a language like C++, Ada 95, Fortran 90,
Eiffel, Modula-3, etc., is generally a 10-30 person-year effort.
On the other hand, if you just want something relatively simple
for your own use, you could ignore all the nasty parts and try
to put something together using Yacc, Lex, and some existing
simple public domain compiler (I believe there is at least one
such free C compiler for the Mac).  You could build it up slowly
over time.  For even more fun ;-), you might try to bootstrap early,
once you can compile very simple programs.

If you can wait until the beginning of next year, the Academic Ada
compiler will be coming out for the PC and the PowerMac.  Or you could
take GNAT and put your energy into porting that.  Porting GNAT is
probably about 100 times simpler than building a compiler from scratch.

In any case, the GW Ada/Ed for the Mac is quite nice for small programs.  
You could probably use it as your "bootstrap" compiler at least.

: mike white

-Tucker Taft   stt@inmet.com
Intermetrics, Inc.



  parent reply	other threads:[~1995-03-08  2:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-06 22:09 Writing a Mac Ada compiler Mike White
1995-03-07  2:04 ` Arthur Evans Jr
1995-03-07 18:32   ` Mike White
1995-03-07 21:31     ` Mark Johannes
1995-03-08 17:39       ` Mike White
1995-03-09  8:16         ` RonaldS60
1995-03-12 23:51           ` Vladimir Vukicevic
1995-03-17 23:04           ` Need complex Math Package James M. (Mike) Hill 575-6632 msgid MHIL
1995-03-19  0:24             ` Henry Baker
1995-03-19 15:25             ` Robert Dewar
1995-03-11 19:45         ` Writing a Mac Ada compiler Gary McKee
1995-03-12 21:13           ` Mike White
1995-03-09  0:32     ` Robert Dewar
1995-03-09 10:46       ` Richard Kenner
1995-03-09 13:42       ` Arthur Evans Jr
1995-03-10  6:25         ` Vladimir Vukicevic
1995-03-10 14:17           ` Arthur Evans Jr
1995-03-10 15:30             ` Richard Kenner
1995-03-09 19:25       ` Mike White
1995-03-07 18:37   ` David Weller
1995-03-07 13:46 ` Theodore E. Dennison
1995-03-07 17:17   ` Laurent Gasser
1995-03-08 15:57   ` Robert Dewar
1995-03-08  1:08 ` Robert Dewar
1995-03-08  2:09 ` Tucker Taft [this message]
1995-03-10  4:05 ` Michael Feldman
1995-03-13  4:55   ` Fraser Wilson
1995-03-15 15:19     ` Theodore Dennison
replies disabled

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