comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: How is an ADA compiler done?
Date: 1996/10/30
Date: 1996-10-30T00:00:00+00:00	[thread overview]
Message-ID: <1996Oct29.213612.1@eisner> (raw)
In-Reply-To: 555e28$v6c@mikasa.iol.it


In article <555e28$v6c@mikasa.iol.it>, schizophonic@iol.it writes:
> dewar@merv.cs.nyu.edu (Robert Dewar) wrote:
> 
>>Are atrtibute grammars used? Yes by one or two compilers, No by most. I don't
>>think it is a particularly helpful formalism. At least one commercial compiler,
>>the DDCI compiler does, as far as I know use this approach, but on the other
>>hand, it is much later than expected, so it is certainly not a demonstration
>>that this technique is specially effective (it is also not a demonstraion
>>to the contrary either, there are MANY things that can make compilers later
>>than hoped, as all of us in the business know well!)
> 
> Sounds strange; in my teacher's opinion, nowadays about the 50% of
> commercial compilers are based on attribute grammars; in facts the
> formalism was developed from the state of the art in the compiler's
> algorithm (at least, the state of the art when Knuth started his
> work). Is Ada (now I wrote it exactly) an exception, or is my teacher
> wrong?

Whether Ada is an exception by having only "one or two" compilers
developed that way depends on how lenient your teacher is with the
phrase "about 50%".  It is quite possible, however, that there are
other languages biased in the other direction, so "about 50%" may
be true across all languages.

The quality of a given compiler is not necessarily related to
whether "state of the art" techniques for arbitrary compiler
construction are utilized.  In fact, even accurate rendition of
the language is not the sole criterion for a quality compiler.
I believe it was Knuth, in fact, who developed the Web language
on the basis that _documentation_ of the implementation was one
of the most important aspects of a program.  For some situations
quality of the error messages may be most important, and I doubt
whether that goal is best served by formal approaches.

Larry Kilgallen




      parent reply	other threads:[~1996-10-30  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-26  0:00 How is an ADA compiler done? schizophonic
1996-10-27  0:00 ` Robert Dewar
1996-10-29  0:00   ` schizophonic
1996-10-29  0:00     ` Robert Dewar
1996-11-08  0:00       ` calling ADA from C EDSTAM Mikael
1996-11-14  0:00         ` Robert Dewar
1996-10-30  0:00     ` Larry Kilgallen [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