From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a0c:c3d1:: with SMTP id p17mr6437324qvi.44.1627580632160; Thu, 29 Jul 2021 10:43:52 -0700 (PDT) X-Received: by 2002:a25:d6d1:: with SMTP id n200mr8457263ybg.173.1627580631995; Thu, 29 Jul 2021 10:43:51 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 29 Jul 2021 10:43:51 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.231 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Building the 2021 source release of GnatStudio From: Shark8 Injection-Date: Thu, 29 Jul 2021 17:43:52 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62446 List-Id: On Thursday, July 29, 2021 at 8:37:51 AM UTC-6, J-P. Rosen wrote: > Le 29/07/2021 =C3=A0 12:37, Rod Kay a =C3=A9crit :=20 > > I guess the point I was trying to make was 'Why is GnatStudio using=20 > > Python at all, given that Ada is superior ?'. > Python is useful for tailoring; by dropping a Python file in the=20 > appropriate directory, you can add any feature to GnatStudio (OK, it=20 > needs some XML too).=20 >=20 > That's how AdaControl's integration works.=20 >=20 > --=20 > J-P. Rosen=20 > Adalog=20 > 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX=20 > Tel: +33 1 45 29 21 52=20 > https://www.adalog.fr I mean we could do that even easier with FORTH, and distribute the Ada impl= ementation alongside it. If you take a look at the implementation I have https://github.com/OneWinge= dShark/Forth -- you'll observe that there's zero non-Ada portions of the pr= ogram, all the core-words are given in terms of the VM: https://github.com/OneWingedShark/Forth/blob/master/src/forth-vm-functions.= ads https://github.com/OneWingedShark/Forth/blob/master/src/forth-vm-functions.= adb https://github.com/OneWingedShark/Forth/blob/master/src/forth-vm-default_wo= rds.adb -- and thus we could achieve a completely portable interpreted system. Having a fully compliant FORTH 2012 interpreter would be pretty nice in thi= s respect, as FORTH is one of 21 ISO programming languages -- https://en.m.= wikipedia.org/wiki/Category:Programming_languages_with_an_ISO_standard -- a= nd only one of three which is traditionally interpreted (ECMAScript, ISLISP= , FORTH). ISLISP *might* be a better technical choice than FORTH, but the s= ame technique would work in implementing the portability; ECMAScript (aka J= avaScript) would be the obvious choice if it were based on popularity. TL;DR -- There's zero reason to include Python as a dependency in an IDE.