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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:7949:: with SMTP id z70mr22594586itc.36.1558306332022; Sun, 19 May 2019 15:52:12 -0700 (PDT) X-Received: by 2002:aca:5ed7:: with SMTP id s206mr20904127oib.122.1558306331840; Sun, 19 May 2019 15:52:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!goblin1!goblin.stu.neva.ru!u76no544368ita.0!news-out.google.com!l135ni593itc.0!nntp.google.com!i64no545908iti.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 19 May 2019 15:52:11 -0700 (PDT) In-Reply-To: <64883feb-3e49-4c6a-855c-6673068e970c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2607:f2c0:94ae:fc00:34fc:3d7c:efd6:13c; posting-account=XGBE5QoAAABsRez5Xjd0KD5FXhbiCPL- NNTP-Posting-Host: 2607:f2c0:94ae:fc00:34fc:3d7c:efd6:13c References: <100ad407-090e-4316-9746-a4469568b53e@googlegroups.com> <64883feb-3e49-4c6a-855c-6673068e970c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <32fa13d6-df3c-4efc-96c6-0e99ef79387f@googlegroups.com> Subject: Re: Ada to Ada Translator ? From: foo wong Injection-Date: Sun, 19 May 2019 22:52:12 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56342 Date: 2019-05-19T15:52:11-07:00 List-Id: Hi again Optikos I just wanted to comment on the top down vs bottom compiler topic... I am 100% certain that Ada could be compiled with yacc/flex alone . This is= based on COBOL. I spent most of 2012 with Ada but I have been with GnuCOBOL from 2013 till = present. I can modify the runtime pretty well but I have not spent so much = time with the compiler. However, I have spent /*some*/ time with it and I c= an say that it is highly complex. GnuCOBOl's use of yacc/flex may be a reco= rd holder. COBOL is much-much harder to parse than Ada. There isn't really a standard = library. The 2002 revision added OO and you can use classes and methods but= for most of the history of COBOL, everything that would normally be a stan= dard library was just made part of the core language. There are hundreds of= reserved words but it goes well beyond this as they are used in sentences = and the same reserved word has different meanings in different sentences. GnuCOBOL is a great piece of software and while it is a very bad idea to us= e to control a tank, it could be used as a basic template for an Ada compil= er. -Patrick