comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: The making of compilers
Date: 1 Mar 2002 11:35:04 -0800
Date: 2002-03-01T19:35:05+00:00	[thread overview]
Message-ID: <5ee5b646.0203011135.12a13558@posting.google.com> (raw)
In-Reply-To: yecelj5c7uh.fsf@king.cts.com

Keith Thompson <kst@cts.com> wrote in message news:<yecelj5c7uh.fsf@king.cts.com>...
> I would have thought that Cobol was a poor language for
> implementing a compiler, but Robert Dewar and others 
> apparently did just that with Realia Cobol.

My guess is that Keith is not a COBOL expert :-) Seriously
usually this kind of opinion comes from people who do not
know COBOL well. COBOL is a general purpose language with
many attractive features, and is perfectly suitable for
writing compilers.

In our case, one of the really big advantages in writing
the COBOL compiler in COBOL was speed, the Realia COBOL
compiler is far far faster than other compilers around
for the PC. To give an idea of the speed, on a 25MHz
386, the compiler (about 120K Sloc) would bootstrap in
under two minutes. Of course on a modern fast PC, running
perhaps 40 times faster, that should be down to well
under 10 seconds (I have not run it recently). That kind
of speed is welcome when developing large programs such
as a compiler :-)

Robert Dewar



  parent reply	other threads:[~2002-03-01 19:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-24 23:45 The making of compilers tony gair
2002-02-25 12:53 ` Marc A. Criley
2002-02-25 14:55 ` Robert Dewar
2002-02-27  1:16   ` Adrian Hoe
2002-02-27 17:46     ` Jeffrey Carter
2002-03-01  5:00       ` Robert Dewar
2002-03-01 17:33         ` Jeffrey Carter
2002-03-01 19:03           ` Florian Weimer
2002-02-26  1:05 ` Nick Roberts
2002-02-26  2:22   ` GVD for Mac OS X? Michael Card
2002-02-26  4:52     ` jim
2002-02-26 15:16   ` The making of compilers tony gair
2002-02-26 15:33     ` Hyman Rosen
2002-02-28 22:09     ` Nick Roberts
2002-02-28 22:14       ` Pat Rogers
2002-03-01  5:02     ` Robert Dewar
2002-03-01  8:25       ` tony gair
2002-03-01  2:58 ` Keith Thompson
2002-03-01  5:35   ` OT, was " tmoran
2002-03-01 19:35   ` Robert Dewar [this message]
2002-03-01 21:15     ` Keith Thompson
2002-03-02  0:50     ` John H. Lindsay
2002-03-02  1:13     ` Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox