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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:7445:: with SMTP id o66-v6mr17436523itc.20.1539706077322; Tue, 16 Oct 2018 09:07:57 -0700 (PDT) X-Received: by 2002:aca:eb91:: with SMTP id j139-v6mr398263oih.4.1539706077197; Tue, 16 Oct 2018 09:07:57 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!x98-v6no72116ita.0!news-out.google.com!n199-v6ni93itn.0!nntp.google.com!x98-v6no72111ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 16 Oct 2018 09:07:56 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.2.28; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.28 References: <75787881-026d-498f-b934-e9359b9f5cf0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Least Dangerous Way to Do This ? From: Shark8 Injection-Date: Tue, 16 Oct 2018 16:07:57 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:54605 Date: 2018-10-16T09:07:56-07:00 List-Id: On Monday, October 15, 2018 at 1:36:09 PM UTC-6, pat...@spellingbeewinnars.= org wrote: > Okay, I worked through the last piece. You know what I am doing..... >=20 > I am thinking about using the Ada.XXX and Gnat.XXX libraries from GnuCOBO= L ! >=20 > Hee-hee, I know COBOL isn't going to have a lot of fans here but it is ac= tually a lot of fun. Ada has a whole section in Annex B for interfacing to COBOL -- "B.4 Interfa= cing with COBOL" -- online here: http://www.ada-auth.org/standards/2xrm/htm= l/RM-B-4.html Exporting to COBOL will be as easy as saying: Function J return Integer with Export, Convention =3D> COBOL; And Importing is similar: Function K return Interfaces.COBOL.Floating with Import, Convention =3D> COBOL; Actually given Ada's ease with interfacing like this, and the SPARK provers= , I'm surprised that the banking industry hasn't leveraged Ada into its inf= rastructure, using Ada to prove the correctness of the system and COBOL for= the fast reporting/record-processing as-needed. >=20 > I will post back with some examples just in case someone cares :) I think that would be pretty cool.