From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Building the 2021 source release of GnatStudio
Date: Thu, 29 Jul 2021 10:43:51 -0700 (PDT) [thread overview]
Message-ID: <f9270fa1-8b9e-47e5-8bd2-55fd25617c77n@googlegroups.com> (raw)
In-Reply-To: <sdueft$npe$1@dont-email.me>
On Thursday, July 29, 2021 at 8:37:51 AM UTC-6, J-P. Rosen wrote:
> Le 29/07/2021 à 12:37, Rod Kay a écrit :
> > I guess the point I was trying to make was 'Why is GnatStudio using
> > Python at all, given that Ada is superior ?'.
> Python is useful for tailoring; by dropping a Python file in the
> appropriate directory, you can add any feature to GnatStudio (OK, it
> needs some XML too).
>
> That's how AdaControl's integration works.
>
> --
> J-P. Rosen
> Adalog
> 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
> Tel: +33 1 45 29 21 52
> https://www.adalog.fr
I mean we could do that even easier with FORTH, and distribute the Ada implementation alongside it.
If you take a look at the implementation I have https://github.com/OneWingedShark/Forth -- you'll observe that there's zero non-Ada portions of the program, 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_words.adb
-- and thus we could achieve a completely portable interpreted system.
Having a fully compliant FORTH 2012 interpreter would be pretty nice in this respect, as FORTH is one of 21 ISO programming languages -- https://en.m.wikipedia.org/wiki/Category:Programming_languages_with_an_ISO_standard -- and only one of three which is traditionally interpreted (ECMAScript, ISLISP, FORTH). ISLISP *might* be a better technical choice than FORTH, but the same technique would work in implementing the portability; ECMAScript (aka JavaScript) 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.
next prev parent reply other threads:[~2021-07-29 17:43 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-28 9:25 Building the 2021 source release of GnatStudio Rod Kay
2021-07-28 10:49 ` Emmanuel Briot
2021-07-28 14:29 ` Simon Wright
2021-07-29 10:29 ` Rod Kay
2021-07-29 0:49 ` Randy Brukardt
2021-07-29 7:49 ` Luke A. Guest
2021-07-29 8:41 ` Dmitry A. Kazakov
2021-07-29 11:33 ` Stéphane Rivière
2021-07-29 11:58 ` Dmitry A. Kazakov
2021-07-30 11:29 ` Stéphane Rivière
2021-07-30 11:51 ` Emmanuel Briot
2021-07-30 16:59 ` Shark8
2021-07-30 17:07 ` Simon Wright
2021-07-31 9:37 ` Stéphane Rivière
2021-07-31 10:30 ` Dmitry A. Kazakov
2021-07-31 11:58 ` Stéphane Rivière
2021-07-31 12:29 ` Dmitry A. Kazakov
2021-08-03 1:05 ` Shark8
2021-08-03 6:30 ` Dmitry A. Kazakov
2021-08-03 7:20 ` Stéphane Rivière
2021-08-28 0:08 ` Roger Mc
2021-07-30 0:21 ` Randy Brukardt
2021-07-29 10:37 ` Rod Kay
2021-07-29 14:37 ` J-P. Rosen
2021-07-29 17:43 ` Shark8 [this message]
2021-07-29 17:23 ` Shark8
2021-07-29 1:09 ` Roger Mc
2021-07-29 10:47 ` Rod Kay
2021-08-27 9:58 ` Blady
2021-08-28 0:10 ` Roger Mc
2021-08-28 6:40 ` Jeffrey R. Carter
2021-08-28 7:16 ` Roger Mc
2021-08-28 7:21 ` Simon Wright
2021-08-28 9:14 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox