From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,eb664162efb14c78 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-15 19:23:04 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: nma124@hotmail.com (steve_H) Newsgroups: comp.lang.ada Subject: Re: Why would it take so long to write an Ada compiler? Date: 15 Dec 2002 19:23:03 -0800 Organization: http://groups.google.com/ Message-ID: <8db3d6c8.0212151923.12bf6052@posting.google.com> References: NNTP-Posting-Host: 63.203.198.30 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1040008984 25882 127.0.0.1 (16 Dec 2002 03:23:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 16 Dec 2002 03:23:04 GMT Xref: archiver1.google.com comp.lang.ada:31868 Date: 2002-12-16T03:23:04+00:00 List-Id: Mike wrote in message news:... > Hello, > > I've read somewhere that to make an Ada95 compliant compiler, 50 years-man of > work are generally considered what is necessary. > > How is this huge quantity of development time justified? Perhaps required for > the standard library? 50 man-hrs (or should that be 50 person-hrs?) is nothing for a commerical compiler. Do you how many person-hrs was spend on the first IBM PLI compiler? I do not remember the exact number, but I remember reading that it was a huge effort and probably the most costly compiler ever made. any one knows? compilers are hard. code generation and optimization is the hardest part I would think. lex and yacc can do most of the front work. GNAT does not use lex and yacc. Ada compilers are harder on average than others becuase the language is big, but I would guess an Ada compiler is no more complex than a C++ compiler, and probably less so. C compilers are probably the least hard to build.