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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5d819a12831be771 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Building an Ada compiler Date: 1996/06/29 Message-ID: #1/1 X-Deja-AN: 162720254 references: <4r023h$jt2@newsbf02.news.aol.com> <4r0u04$21b0@sat.ipp-garching.mpg.de> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-06-29T00:00:00+00:00 List-Id: In article <4r0u04$21b0@sat.ipp-garching.mpg.de>, Ruediger Berlich wrote: >Hi, >if writing an Ada-Compiler is that much of a problem, then, >how difficult is it to write an Ada95-Interpreter ? Beats me. My guess is half the time to write a compiler, or somewhat less. Maybe even one tenth as hard. But I have no expertise to back that up. To write an Ada interpreter, you still need to understand the language, in a way that Ada programmers (thankfully) don't need to. As various others have pointed out, maybe you should look into GNAT more seriously -- yes, gcc is unix-based, but it's been ported to VMS and DOS. Porting gcc to an an environment it's not used to might be hard, but nowhere near as hard as writing an Ada compiler from scratch. Once you port gcc, porting GNAT is not so hard. - Bob