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

Andrew Tomazos <andrew@tomazos.com>
Tue, 19 May 2009 05:20:36 -0700 (PDT)

          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)
[9 later articles]
| List of all articles for this month |

From: Andrew Tomazos <andrew@tomazos.com>
Newsgroups: comp.compilers
Date: Tue, 19 May 2009 05:20:36 -0700 (PDT)
Organization: Compilers Central
References: 09-05-080
Keywords: practice
Posted-Date: 19 May 2009 13:59:51 EDT

On May 19, 1:01 pm, armen...@gmail.com wrote:
> What is the importance with a compiler that is able to compile itself?


Let us define the "intended application domain" of a language as the
set of applications the language designer intended the language to be
used for.


Some languages include compilers as part of their intended application
domain (for example C), and some do not (for example XSLT).


If the intended application domain of a language X includes a compiler
for language X, than it is a good demonstration and test to implement
one.


It demonstrates that the language can "eat its own dog food".


It tests many language features such as reading and writing to
secondary storage, string handling, complex data structures and
intensive algorithms.
    -Andrew.



Post a followup to this message

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