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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,448990452c132610 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 04:53:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3C7A269C.5F6DF147@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: The making of compilers References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 25 Feb 2002 12:53:04 GMT NNTP-Posting-Host: 63.178.180.84 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1014641584 63.178.180.84 (Mon, 25 Feb 2002 04:53:04 PST) NNTP-Posting-Date: Mon, 25 Feb 2002 04:53:04 PST X-Received-Date: Mon, 25 Feb 2002 04:53:02 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:20358 Date: 2002-02-25T12:53:04+00:00 List-Id: tony gair wrote: > > After sticking my neck out and being shot out out of the sky by the big > guns..................................... > > I heard from a lecturer in 1990 that compilers were built by writing a > language subset compiler in assembler (or C or C++ or.....) and then by > using that subset to step by step extend the language to its desired form. That is one approach to coding a compiler. Another is writing it in a different language, such as the "C-path" Ada compilers, or writing a VHDL compiler in Pascal (and Univac Pascal at that!) as I did many years ago. Then there's implementing it using a different version of the same language, like writing an Ada 95 compiler with Alsys Ada 83--which I recall hearing is how GNAT started out. > > And he was really clever he was , he had glasses and a beard and everything. No glasses, but I do have a beard and long hair, just like Dr. Science! :-) :-) Marc A. Criley Consultant Quadrus Corporation www.quadruscorp.com