comp.lang.ada
 help / color / mirror / Atom feed
From: Theodore Dennison <dennison@escmail.orl.mmc.com>
Subject: Re: Writing a Mac Ada compiler
Date: 15 Mar 1995 15:19:27 GMT
Date: 1995-03-15T15:19:27+00:00	[thread overview]
Message-ID: <3k70hv$g30@theopolis.orl.mmc.com> (raw)
In-Reply-To: 3k0j74$6fj@zoom.jtec.com.au

Fraser Wilson <raser@zoom.jtec.com.au> wrote:
> I nearly cried when mfeldman@seas.gwu.edu (Michael Feldman) explained:
> 
> >Ada compilers are not easy. Best to reuse something, especially if it
> >is free.
> 
> It's true they're not easy.  But writing an Ada compiler is a great
> way to learn how compilers work.
> 
..
> 
> And even if it's ultimately a useless endeavour, it was fun.

I don't think we meant to imply that it was "useless". Personally,
I'm a firm believer that learning is never a waste. 

Its just that trying to craft a complete implementation of Ada 
single-handedly in one's spare time is practicly a hopeless task.
The image that springs to mind is that of the old man in Indiana
in the seventies who was building his own turnpike (by himself).
Sure, you'll learn a lot, you'll just never finish it. 

I would like to suggest that, for learning purposes, a smaller
language would be more suitable. This way, you are more likely
to get around to building a code generator (to go with your
parser and lexical analyser). Pascal and C would probably be 
good choices. Oberon would also be a good choice, as a book 
(Written by Nicklaus Wirth) is avaiable on building compilers
that uses Oberon as an example. The complete source to Oberon
is gone over in detail during the course of the text.

Of course, if its really fame and glory you are after, porting
GNAT would be the better choice. :-)

T.E.D.




      reply	other threads:[~1995-03-15 15:19 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
1995-03-10  4:05 ` Michael Feldman
1995-03-13  4:55   ` Fraser Wilson
1995-03-15 15:19     ` Theodore Dennison [this message]
replies disabled

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