Re: Newbie question: What is the importance for a compiler to be able to compile itself?

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Tue, 19 May 2009 19:05:32 +0000 (UTC)

          From comp.compilers

Related articles
Newbie question: What is the importance for a compiler to be able to c armencho@gmail.com (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able andrew@tomazos.com (Andrew Tomazos) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able marcov@snail.stack.nl (Marco van de Voort) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able rose@acm.org (Ken Rose) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able gneuner2@comcast.net (George Neuner) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able gah@ugcs.caltech.edu (glen herrmannsfeldt) (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able kenney@cix.compulink.co.uk (2009-05-19)
Re: Newbie question: What is the importance for a compiler to be able pertti.kellomaki@tut.fi (Pertti Kellomaki) (2009-05-20)
Re: Newbie question: What is the importance for a compiler to be able jeremy.wright@microfocus.com (Jeremy Wright) (2009-05-20)
Re: Newbie question: What is the importance for a compiler to be able torbenm@pc-003.diku.dk (2009-05-20)
Re: Newbie question: What is the importance for a compiler to be able armencho@gmail.com (2009-05-20)
Re: Newbie question: What is the importance for a compiler to be able marcov@snail.stack.nl (Marco van de Voort) (2009-05-20)
[4 later articles]
| List of all articles for this month |
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers
Date: Tue, 19 May 2009 19:05:32 +0000 (UTC)
Organization: California Institute of Technology, Pasadena
References: 09-05-080 09-05-084
Keywords: practice
Posted-Date: 20 May 2009 09:57:10 EDT

Hans-Peter Diettrich <DrDiettrich1@aol.com> wrote:
< armencho@gmail.com schrieb:


<> What is the importance with a compiler that is able to compile itself?
(snip)


< Not all languages are designed for implementing compilers, they even
< must not be Turing-complete. But when a language is general-purpose
< enough, possible customers may wonder when the compiler cannot compile
< itself - does the creator not trust it's own compiler, or does the
< language lack essential elements, which may stop an application project
< in the implementation phase?


Fortran compilers are rarely written in Fortran. The OS/360 Fortran H
compiler is about half Fortran IV, with a few extensions that were
later added to the language. (Mostly bit manipulation functions.)


One advantage in that case was that optimization features
would help the compiler run faster.


Now that Fortran has more string capabilities, it still doesn't
seem to be a popular language for implementing Fortran compilers.


Many now seem to use the same back end as the corresponding C
compiler, reducing the amount of work needed.


-- glen



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.