comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: New GNAT ports (was Re: Ada and Automotive Industry)
Date: 1997/01/09
Date: 1997-01-09T00:00:00+00:00	[thread overview]
Message-ID: <dewar.852814793@merv> (raw)
In-Reply-To: 5b252e$fk4$1@goanna.cs.rmit.edu.au


Richard said

"I've poked around in the GNAT sources from time to time, but have never
studied the whole thing.  People who _have_ studied it:  how long do you
think it would take to understand the GNAT front end well enough to
make an informed judgement about the difficulty of writing a non-GCC
back end for it?"

The front end of GNAT is pretty accessible. Read the documentation in
sinfo and einfo to get a definition of the tree that is produced.
Writing a production quality backend for any machine from scratch is
a big project, of the order of person years for someone who knows what
they are doing. Adapting an existing backend (if one is available that
can be GPL'ed) is certainly a possibility, although sometimes clashes
in assumptions can make such a project harder than expected. Note that
the Ada Magic front end is more deliberately setup to provide for
interfacing with multiple backends (this is obviously not a criterion
for GNAT, since the assumption is that only one backend, GCC, will be
used).

Certainly building a small trial code generator hooked into the backend
of GNAT is practical. I am planning on having my students in my compiler
class do that this coming semester.





  reply	other threads:[~1997-01-09  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-24  0:00 New GNAT ports (was Re: Ada and Automotive Industry) Robert Dewar
1996-12-27  0:00 ` New GNAT ports John Howard
1997-01-07  0:00 ` New GNAT ports (was Re: Ada and Automotive Industry) Richard A. O'Keefe
1997-01-07  0:00   ` Robert A Duff
1997-01-07  0:00     ` Robert Dewar
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-09  0:00       ` Dr. Peter E. Obermayer
1997-01-07  0:00   ` Robert Dewar
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-08  0:00       ` Robert Dewar
1997-01-08  0:00     ` Ken Garlington
1997-01-07  0:00   ` Ken Garlington
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-08  0:00       ` Robert Dewar
1997-01-09  0:00         ` Richard A. O'Keefe
1997-01-11  0:00           ` Robert Dewar
1997-01-11  0:00         ` Addresses of Subprograms (was: New GNAT ports) Larry Kilgallen
1997-01-13  0:00           ` Larry Kilgallen
1997-01-14  0:00             ` Richard A. O'Keefe
1997-01-14  0:00               ` Fergus Henderson
1997-01-15  0:00             ` Richard Kenner
1997-01-09  0:00       ` New GNAT ports (was Re: Ada and Automotive Industry) Ken Garlington
1997-01-08  0:00   ` Karl Cooper
1997-01-08  0:00     ` Robert Dewar
1997-01-09  0:00     ` Richard A. O'Keefe
1997-01-09  0:00       ` Robert Dewar [this message]
1997-01-09  0:00   ` Robert I. Eachus
1997-01-10  0:00   ` Robert I. Eachus
1997-01-11  0:00     ` Robert Dewar
1997-01-13  0:00       ` Richard A. O'Keefe
replies disabled

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