Related articles |
---|
How long does it take to build a compiler? ywlee@sparc0a.cs.uiuc.edu (Youngwhan Lee) (1993-10-27) |
Re: How long does it take to build a compiler? lenngray@netcom.com (1993-10-29) |
Re: How long does it take to build a compiler? bj@hatch.socal.com (1993-10-30) |
Re: How long does it take to build a compiler? ywlee@sparc0a.cs.uiuc.edu (Youngwhan Lee) (1993-11-01) |
Re: How long does it take to build a compiler? ryer@dsd.camb.inmet.com (1993-11-01) |
Re: How long does it take to build a compiler? neitzel@ips.cs.tu-bs.de (1993-11-04) |
Re: How long does it take to build a compiler? graham@pact.srf.ac.uk (1993-11-05) |
Re: How long does it take to build a compiler? xjam@ginkgo.CS.Berkeley.EDU (1993-11-09) |
Re: How long does it take to build a compiler? pardo@cs.washington.edu (1993-11-09) |
Re: How long does it take to build a compiler? maniattb@cs.rpi.edu (1993-11-10) |
Newsgroups: | comp.compilers |
From: | ryer@dsd.camb.inmet.com (Mike Ryer) |
Keywords: | design |
Organization: | Intermetrics, Inc. |
References: | 93-10-124 93-10-155 |
Date: | Mon, 1 Nov 1993 21:45:33 GMT |
Ten hours to build a parser from a pretty simple grammar sounds about
right. Then add from ten hours to ten years to finish the compiler.
The problem is not the nice, theoretical, structured problem of
recognizing valid sentences in the grammar and filling in a code template
with the parts you extract. That's easy. The problems are object module
formats, segmented memory archtiectures, baroque OS interfaces,
optimization, debuggers, dynamic memory allocation, I/O, separate
compilation, compiling-programs-that-don't-fit-in-memory, linkers, foreign
language interfaces, and general programming environment. Then some more
optimization, and some compile-time tuning. Now let there be listings
too!
It may be worthwhile to design some of these things into the overall
architecture of the compiler, instead of yaccing, lexing, and then
retrofiting the hard part.
-- Mike Ryer
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.