comp.lang.ada
 help / color / mirror / Atom feed
* Any chance of programming a web frontend in Ada 2012?
@ 2021-06-08  8:56 Marius Amado-Alves
  2021-06-08  9:21 ` Jeffrey R. Carter
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08  8:56 UTC (permalink / raw)


It seems that currently the only languages web browsers execute reliably are JavaScript and JBC (Java Byte Code) , with WASM (Web Assembly) soon to join the group.

Is there a way to program a web frontend in Ada 2012, maybe by translation to one of the above languages?

(Preferably with a binding to the DOM and the BOM.)

(Maybe via LLVM? GNAT already generates LLVM, right?)

Thanks a lot.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
@ 2021-06-08  9:21 ` Jeffrey R. Carter
  2021-06-08 13:42   ` Marius Amado-Alves
  2021-06-08 14:45   ` Marius Amado-Alves
  2021-06-08  9:35 ` Max Reznik
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 29+ messages in thread
From: Jeffrey R. Carter @ 2021-06-08  9:21 UTC (permalink / raw)


On 6/8/21 10:56 AM, Marius Amado-Alves wrote:
> It seems that currently the only languages web browsers execute reliably are JavaScript and JBC (Java Byte Code) , with WASM (Web Assembly) soon to join the group.
> 
> Is there a way to program a web frontend in Ada 2012, maybe by translation to one of the above languages?
> 
> (Preferably with a binding to the DOM and the BOM.)
> 
> (Maybe via LLVM? GNAT already generates LLVM, right?)

Have you looked at Gnoga? https://sourceforge.net/projects/gnoga/

-- 
Jeff Carter
"Ada has made you lazy and careless. You can write programs in C that
are just as safe by the simple application of super-human diligence."
E. Robert Tisdale
72

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
  2021-06-08  9:21 ` Jeffrey R. Carter
@ 2021-06-08  9:35 ` Max Reznik
  2021-06-08 15:22   ` Max Reznik
  2021-06-08 13:20 ` Luke A. Guest
  2021-06-08 15:01 ` Marius Amado-Alves
  3 siblings, 1 reply; 29+ messages in thread
From: Max Reznik @ 2021-06-08  9:35 UTC (permalink / raw)


Indeed, there is a project to run Ada in the browser using WebAssembly. It's name AdaWebPack[1].
It provides a toolchain based on GNAT LLVM and a customized runtime. 
The runtime has some restrictions for now, such as no exception handling due to current
state of WebAssemlby. The toolchain building could be complicated, so the project provides
a Docker image.

The project provides the simplest example (See online: https://www.ada-ru.org/files/wasm/index.html).
This site (in Russian) uses it to provide some construction calculations https://mycalcs.ru/
Also take a look a short blog post: https://blog.adacore.com/android-application-with-ada-and-webassembly

I think, you can reach the author on the Telegram channel https://t.me/ada_lang

[1] https://github.com/godunko/adawebpack

> (Maybe via LLVM? GNAT already generates LLVM, right?) 
> 
> Thanks a lot.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
  2021-06-08  9:21 ` Jeffrey R. Carter
  2021-06-08  9:35 ` Max Reznik
@ 2021-06-08 13:20 ` Luke A. Guest
  2021-06-08 14:12   ` Marius Amado-Alves
  2021-06-08 15:01 ` Marius Amado-Alves
  3 siblings, 1 reply; 29+ messages in thread
From: Luke A. Guest @ 2021-06-08 13:20 UTC (permalink / raw)


On 08/06/2021 09:56, Marius Amado-Alves wrote:
> It seems that currently the only languages web browsers execute reliably are JavaScript and JBC (Java Byte Code) , with WASM (Web Assembly) soon to join the group.
> 
> Is there a way to program a web frontend in Ada 2012, maybe by translation to one of the above languages?
> 
> (Preferably with a binding to the DOM and the BOM.)
> 
> (Maybe via LLVM? GNAT already generates LLVM, right?)
> 
> Thanks a lot.
> 

There's always been CGI, there is a FastCGI implementation, my SCGI is 
nowhere near complete, and may as well be dead tbh.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  9:21 ` Jeffrey R. Carter
@ 2021-06-08 13:42   ` Marius Amado-Alves
  2021-06-08 16:04     ` Jeffrey R. Carter
  2021-06-08 14:45   ` Marius Amado-Alves
  1 sibling, 1 reply; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08 13:42 UTC (permalink / raw)


> Jeff Carter 
> "Ada has made you lazy and careless. You can write programs in C that 
> are just as safe by the simple application of super-human diligence." 
> E. Robert Tisdale 

Jeff, I thought your signature quotes were random, but this one... just replace C with JavaScript.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 13:20 ` Luke A. Guest
@ 2021-06-08 14:12   ` Marius Amado-Alves
  2021-06-08 14:43     ` Luke A. Guest
  0 siblings, 1 reply; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08 14:12 UTC (permalink / raw)


> There's always been CGI, there is a FastCGI implementation, my SCGI is 
> nowhere near complete, and may as well be dead tbh.

Thanks, Luke. I've used CGI in the past (~2000). But now I'm a grown man and want to use a single language:-)

(
Cannot refind the meme now. 'Twas something like this:
beginner web developer: {HTML...}
intermediate: {HTML, CSS, Javascript...}
master: {Javascript}
)

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 14:12   ` Marius Amado-Alves
@ 2021-06-08 14:43     ` Luke A. Guest
  2021-06-08 14:55       ` Marius Amado-Alves
  0 siblings, 1 reply; 29+ messages in thread
From: Luke A. Guest @ 2021-06-08 14:43 UTC (permalink / raw)


On 08/06/2021 15:12, Marius Amado-Alves wrote:
>> There's always been CGI, there is a FastCGI implementation, my SCGI is
>> nowhere near complete, and may as well be dead tbh.
> 
> Thanks, Luke. I've used CGI in the past (~2000). But now I'm a grown man and want to use a single language:-)

Eh? Surely you know CGI is basically stdin/out right? SCGI and FastCGI 
is just that over sockets and you can use Ada.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  9:21 ` Jeffrey R. Carter
  2021-06-08 13:42   ` Marius Amado-Alves
@ 2021-06-08 14:45   ` Marius Amado-Alves
  1 sibling, 0 replies; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08 14:45 UTC (permalink / raw)


> Have you looked at Gnoga? https://sourceforge.net/projects/gnoga/ 

Yes. Looks great and reliable. Quick read of the well written user_guide (I must be rainman cause I spotted this typo: Gnoga.Gui.Ekement.Canvas)

Looks too complicated for my present needs, but definitely a reference to keep. Thanks, Jeff.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 14:43     ` Luke A. Guest
@ 2021-06-08 14:55       ` Marius Amado-Alves
  2021-06-08 15:08         ` Luke A. Guest
  0 siblings, 1 reply; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08 14:55 UTC (permalink / raw)


> > Thanks, Luke. I've used CGI in the past (~2000). But now I'm a grown man and want to use a single language:-)
> Eh? Surely you know CGI is basically stdin/out right? SCGI and FastCGI 
> is just that over sockets and you can use Ada.

Thanks, yes, then maybe I'm missing something, I dont see how that lets an Ada program run *in the browser*.
I used CGI to pass information (including generated HTML and the like) between the Ada program running as (and in a) server and the browser, an arquitecture still requiring non-Ada languages in the front end.
Maybe I was doing it wrong.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
                   ` (2 preceding siblings ...)
  2021-06-08 13:20 ` Luke A. Guest
@ 2021-06-08 15:01 ` Marius Amado-Alves
  2021-06-08 16:26   ` Maxim Reznik
  2021-06-11  0:44   ` Paul Rubin
  3 siblings, 2 replies; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-08 15:01 UTC (permalink / raw)


A number of ideas keep tickling my mind on how to do this. One is using ASIS to translate Ada to JavaScript, a kind of Ada compiler with Javascript as the target language.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 14:55       ` Marius Amado-Alves
@ 2021-06-08 15:08         ` Luke A. Guest
  0 siblings, 0 replies; 29+ messages in thread
From: Luke A. Guest @ 2021-06-08 15:08 UTC (permalink / raw)


On 08/06/2021 15:55, Marius Amado-Alves wrote:
>>> Thanks, Luke. I've used CGI in the past (~2000). But now I'm a grown man and want to use a single language:-)
>> Eh? Surely you know CGI is basically stdin/out right? SCGI and FastCGI
>> is just that over sockets and you can use Ada.
> 
> Thanks, yes, then maybe I'm missing something, I dont see how that lets an Ada program run *in the browser*.
> I used CGI to pass information (including generated HTML and the like) between the Ada program running as (and in a) server and the browser, an arquitecture still requiring non-Ada languages in the front end.
> Maybe I was doing it wrong.
> 

CGI programs are started by the browser on the server, SCGI and FastCGI 
are servers running on the server. See

https://github.com/Lucretia/ether
https://github.com/reznikmm/matreshka

If you want front end stuff, i.e. WebAssembly, you can do that, see

https://groups.google.com/g/comp.lang.ada/c/X-x1e-4w7dk/m/09nYKa-RAwAJ (Me)
https://groups.google.com/g/comp.lang.ada/c/i7niKZL8HAU/m/Y4I03LnLAgAJ 
(Maxim)
https://blog.adacore.com/use-of-gnat-llvm-to-translate-ada-applications-to-webassembly

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08  9:35 ` Max Reznik
@ 2021-06-08 15:22   ` Max Reznik
  2021-06-08 16:06     ` Luke A. Guest
  2021-06-10 13:33     ` Shark8
  0 siblings, 2 replies; 29+ messages in thread
From: Max Reznik @ 2021-06-08 15:22 UTC (permalink / raw)


Speaking about "a single language" for frontend and backend. There was an idea to port Annex E (DSA) to AdaWebPack and use it as a communication channel between a web server written in Ada and WebAssembly client part.


вторник, 8 июня 2021 г. в 12:35:27 UTC+3, Max Reznik:
> Indeed, there is a project to run Ada in the browser using WebAssembly. It's name AdaWebPack[1]. 
> It provides a toolchain based on GNAT LLVM and a customized runtime. 
> The runtime has some restrictions for now, such as no exception handling due to current 
> state of WebAssemlby. The toolchain building could be complicated, so the project provides 
> a Docker image. 
> 
> The project provides the simplest example (See online: https://www.ada-ru.org/files/wasm/index.html). 
> This site (in Russian) uses it to provide some construction calculations https://mycalcs.ru/ 
> Also take a look a short blog post: https://blog.adacore.com/android-application-with-ada-and-webassembly 
> 
> I think, you can reach the author on the Telegram channel https://t.me/ada_lang 
> 
> [1] https://github.com/godunko/adawebpack
> > (Maybe via LLVM? GNAT already generates LLVM, right?) 
> > 
> > Thanks a lot.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 13:42   ` Marius Amado-Alves
@ 2021-06-08 16:04     ` Jeffrey R. Carter
  0 siblings, 0 replies; 29+ messages in thread
From: Jeffrey R. Carter @ 2021-06-08 16:04 UTC (permalink / raw)


On 6/8/21 3:42 PM, Marius Amado-Alves wrote:
>> Jeff Carter
>> "Ada has made you lazy and careless. You can write programs in C that
>> are just as safe by the simple application of super-human diligence."
>> E. Robert Tisdale
> 
> Jeff, I thought your signature quotes were random, but this one... just replace C with JavaScript.

I guess pseudo-random is technically correct (from a set of 203 without 
duplication), but sometimes serendipity strikes.

-- 
Jeff Carter
"Ada has made you lazy and careless. You can write programs in C that
are just as safe by the simple application of super-human diligence."
E. Robert Tisdale
72

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 15:22   ` Max Reznik
@ 2021-06-08 16:06     ` Luke A. Guest
  2021-06-08 16:19       ` Maxim Reznik
  2021-06-10 13:33     ` Shark8
  1 sibling, 1 reply; 29+ messages in thread
From: Luke A. Guest @ 2021-06-08 16:06 UTC (permalink / raw)


On 08/06/2021 16:22, Max Reznik wrote:
> Speaking about "a single language" for frontend and backend. There was an idea to port Annex E (DSA) to AdaWebPack and use it as a communication channel between a web server written in Ada and WebAssembly client part.

But?

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 16:06     ` Luke A. Guest
@ 2021-06-08 16:19       ` Maxim Reznik
  2021-06-10 15:16         ` Shark8
  0 siblings, 1 reply; 29+ messages in thread
From: Maxim Reznik @ 2021-06-08 16:19 UTC (permalink / raw)


вторник, 8 июня 2021 г. в 19:06:16 UTC+3, Luke A. Guest:
> But?

But, there is 
* no interest from the community 
* no interesting projects where I can use this idea
* no enough free time

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 15:01 ` Marius Amado-Alves
@ 2021-06-08 16:26   ` Maxim Reznik
  2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
  2021-06-10 15:18     ` Shark8
  2021-06-11  0:44   ` Paul Rubin
  1 sibling, 2 replies; 29+ messages in thread
From: Maxim Reznik @ 2021-06-08 16:26 UTC (permalink / raw)


вторник, 8 июня 2021 г. в 18:01:21 UTC+3, amado:
> A number of ideas keep tickling my mind on how to do this. One is using ASIS to translate Ada to JavaScript, a kind of Ada compiler with Javascript as the target language.

I did some progress in this direction, but ASIS4GNAT is abandoned and my project is suspended. The only user I have moved to AdaWebPack :)
The source code of the translator is part of the Matreshka project.

https://forge.ada-ru.org/matreshka/wiki/Web/A2JS
There is GitHub mirror:
https://github.com/reznikmm/matreshka

^ permalink raw reply	[flat|nested] 29+ messages in thread

* ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 16:26   ` Maxim Reznik
@ 2021-06-09  5:02     ` J-P. Rosen
  2021-06-11 18:47       ` Stephen Leake
  2021-06-12 10:47       ` Rod Kay
  2021-06-10 15:18     ` Shark8
  1 sibling, 2 replies; 29+ messages in thread
From: J-P. Rosen @ 2021-06-09  5:02 UTC (permalink / raw)


Le 08/06/2021 à 18:26, Maxim Reznik a écrit :
> I did some progress in this direction, but ASIS4GNAT is abandoned and my project is suspended.

ASIS4GNAT is not abandonned, it is just not part of the CE edition. Pro 
users have access to it.

Please drop me a note if you have developped an ASIS tool, or are using 
an ASIS-based tool. With enough protests, we may convince AdaCore to 
make ASIS4GNAT available to the community.

-- 
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

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 15:22   ` Max Reznik
  2021-06-08 16:06     ` Luke A. Guest
@ 2021-06-10 13:33     ` Shark8
  1 sibling, 0 replies; 29+ messages in thread
From: Shark8 @ 2021-06-10 13:33 UTC (permalink / raw)


On Tuesday, June 8, 2021 at 9:22:55 AM UTC-6, Max Reznik wrote:
> Speaking about "a single language" for frontend and backend. There was an idea to port Annex E (DSA) to AdaWebPack and use it as a communication channel between a web server written in Ada and WebAssembly client part. 

I've been advocating this idea [well similar, I'm nor a fan of WASM] for years now.
Seriously: The DSA has the potential to be the Ada equivalent of being the "killer app" or "killer feature" for getting use.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 16:19       ` Maxim Reznik
@ 2021-06-10 15:16         ` Shark8
  2021-06-10 15:42           ` Luke A. Guest
  0 siblings, 1 reply; 29+ messages in thread
From: Shark8 @ 2021-06-10 15:16 UTC (permalink / raw)


On Tuesday, June 8, 2021 at 10:19:43 AM UTC-6, Maxim Reznik wrote:
> вторник, 8 июня 2021 г. в 19:06:16 UTC+3, Luke A. Guest: 
> > But? 
> 
> But, there is 
> * no interest from the community 
There is it's just that point three makes it a bit harder.
> * no interesting projects where I can use this idea 
There are LOTS of programs that could use this idea; essentially anything that you could use as a single application and split-up on server/client lines could be used.
> * no enough free time
This is the biggest factor, I think.
That and there appears to be some difficulty (as in non-compliance to the standard) WRT GNAT and the DSA; Dmitry would have more details there, as he has his own RPC/DSA implementation ready to go, IIRC.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 16:26   ` Maxim Reznik
  2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
@ 2021-06-10 15:18     ` Shark8
  1 sibling, 0 replies; 29+ messages in thread
From: Shark8 @ 2021-06-10 15:18 UTC (permalink / raw)


On Tuesday, June 8, 2021 at 10:26:58 AM UTC-6, Maxim Reznik wrote:
> вторник, 8 июня 2021 г. в 18:01:21 UTC+3, amado:
> > A number of ideas keep tickling my mind on how to do this. One is using ASIS to translate Ada to JavaScript, a kind of Ada compiler with Javascript as the target language.
> I did some progress in this direction, but ASIS4GNAT is abandoned and my project is suspended. The only user I have moved to AdaWebPack :) 
> The source code of the translator is part of the Matreshka project. 
Damn.
I was hoping to see more on the translator.
Especially if it could be integrated into GNOGA, that way we could write everything in Ada and have the GNOGA-frontend-JS be generated from the same set of source.
> https://forge.ada-ru.org/matreshka/wiki/Web/A2JS 
> There is GitHub mirror: 
> https://github.com/reznikmm/matreshka
I'll have to take another look at it, but like I said upthread, time is the big issue.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-10 15:16         ` Shark8
@ 2021-06-10 15:42           ` Luke A. Guest
  0 siblings, 0 replies; 29+ messages in thread
From: Luke A. Guest @ 2021-06-10 15:42 UTC (permalink / raw)


On 10/06/2021 16:16, Shark8 wrote:
>> * no enough free time
> This is the biggest factor, I think.
> That and there appears to be some difficulty (as in non-compliance to the standard) WRT GNAT and the DSA; Dmitry would have more details there, as he has his own RPC/DSA implementation ready to go, IIRC.
> 

This, for this and other OSS projects, could be ameliorated by the 
company's who sell compilers, all of them, not just AdaCore, funding or 
helping fund the development of various OSS projects. I saw something 
about of reddit recently I think where people were saying that OSS 
projects just die out because the maintainers just burn themselves out 
doing a full time job (for money) and then trying to keep OSS projects 
going (for no money).

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: Any chance of programming a web frontend in Ada 2012?
  2021-06-08 15:01 ` Marius Amado-Alves
  2021-06-08 16:26   ` Maxim Reznik
@ 2021-06-11  0:44   ` Paul Rubin
  1 sibling, 0 replies; 29+ messages in thread
From: Paul Rubin @ 2021-06-11  0:44 UTC (permalink / raw)


Marius Amado-Alves <amado.alves@gmail.com> writes:
> A number of ideas keep tickling my mind on how to do this. One is
> using ASIS to translate Ada to JavaScript, a kind of Ada compiler with
> Javascript as the target language.

It's unclear to me why anyone would want to do this, since it combines
the disadvantages of both Javascript (interpreted, non-deterministic
execution) and Ada (manual memory management etc.)

If you want to use a typed language that gets translated into
Javascript, you might be better off using Purescript (purescript.org) or
even something like Agda.

Ada to WASM might make more sense than Ada to Javascript, of course.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
@ 2021-06-11 18:47       ` Stephen Leake
  2021-06-11 20:31         ` J-P. Rosen
  2021-06-12 10:47       ` Rod Kay
  1 sibling, 1 reply; 29+ messages in thread
From: Stephen Leake @ 2021-06-11 18:47 UTC (permalink / raw)


"J-P. Rosen" <rosen@adalog.fr> writes:

> Le 08/06/2021 à 18:26, Maxim Reznik a écrit :
>> I did some progress in this direction, but ASIS4GNAT is abandoned
> and my project is suspended.
>
> ASIS4GNAT is not abandonned, it is just not part of the CE edition.
> Pro users have access to it.

On the other hand, if you are starting a new project, libadalang is a
better choice.

-- 
-- Stephe

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-11 18:47       ` Stephen Leake
@ 2021-06-11 20:31         ` J-P. Rosen
  0 siblings, 0 replies; 29+ messages in thread
From: J-P. Rosen @ 2021-06-11 20:31 UTC (permalink / raw)


Le 11/06/2021 à 20:47, Stephen Leake a écrit :
> "J-P. Rosen" <rosen@adalog.fr> writes:
> 
>> Le 08/06/2021 à 18:26, Maxim Reznik a écrit :
>>> I did some progress in this direction, but ASIS4GNAT is abandoned
>> and my project is suspended.
>>
>> ASIS4GNAT is not abandonned, it is just not part of the CE edition.
>> Pro users have access to it.
> 
> On the other hand, if you are starting a new project, libadalang is a
> better choice.
> 
What makes you think so?

By all means, compare the specifications of an ASIS package 
(Asis.Statements, Asis.Declarations) to Libadalang.Analysis and see 
which one is more usable...

-- 
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

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
  2021-06-11 18:47       ` Stephen Leake
@ 2021-06-12 10:47       ` Rod Kay
  2021-06-12 14:04         ` J-P. Rosen
  1 sibling, 1 reply; 29+ messages in thread
From: Rod Kay @ 2021-06-12 10:47 UTC (permalink / raw)


On 9/6/21 3:02 pm, J-P. Rosen wrote:
> 
> Please drop me a note if you have developped an ASIS tool, or are using 
> an ASIS-based tool. With enough protests, we may convince AdaCore to 
> make ASIS4GNAT available to the community.
> 

I switched from ASIS to libadalang for an Ada IDE project also, since I 
thought ASIS was abandoned.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-12 10:47       ` Rod Kay
@ 2021-06-12 14:04         ` J-P. Rosen
  2021-06-14 12:37           ` Shark8
  0 siblings, 1 reply; 29+ messages in thread
From: J-P. Rosen @ 2021-06-12 14:04 UTC (permalink / raw)


Le 12/06/2021 à 12:47, Rod Kay a écrit :
> On 9/6/21 3:02 pm, J-P. Rosen wrote:
>>
>> Please drop me a note if you have developped an ASIS tool, or are 
>> using an ASIS-based tool. With enough protests, we may convince 
>> AdaCore to make ASIS4GNAT available to the community.
>>
> 
> I switched from ASIS to libadalang for an Ada IDE project also, since I 
> thought ASIS was abandoned.
If you want to analyze code while it is being typed, as is common in an 
IDE, Libadalang is certainly the way to go.

If you want to make sophisticated analysis tools, it's another story. 
Hopefully, my paper at AE will soon be available...

-- 
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

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-12 14:04         ` J-P. Rosen
@ 2021-06-14 12:37           ` Shark8
  2021-06-15 21:40             ` Marius Amado-Alves
  0 siblings, 1 reply; 29+ messages in thread
From: Shark8 @ 2021-06-14 12:37 UTC (permalink / raw)


On Saturday, June 12, 2021 at 8:04:20 AM UTC-6, J-P. Rosen wrote:
> 
> If you want to make sophisticated analysis tools, it's another story. 
> Hopefully, my paper at AE will soon be available...

Oh, I am looking forward to reading it.
BTW, I really liked your "Memory Management in Ada 2012" video; I've used it as a reference several times to explain to Rust-people that Ada is safer than expected because pointers aren't required for a lot of things, and so you don't have to worry about null-exclusion.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-14 12:37           ` Shark8
@ 2021-06-15 21:40             ` Marius Amado-Alves
  2021-06-16  8:41               ` J-P. Rosen
  0 siblings, 1 reply; 29+ messages in thread
From: Marius Amado-Alves @ 2021-06-15 21:40 UTC (permalink / raw)


Is JGNAT reliable, updated, available?
Thanks.

^ permalink raw reply	[flat|nested] 29+ messages in thread

* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
  2021-06-15 21:40             ` Marius Amado-Alves
@ 2021-06-16  8:41               ` J-P. Rosen
  0 siblings, 0 replies; 29+ messages in thread
From: J-P. Rosen @ 2021-06-16  8:41 UTC (permalink / raw)


Le 15/06/2021 à 23:40, Marius Amado-Alves a écrit :
> Is JGNAT 
>reliable,
I didn' try it enough to answer this

> updated,
No. The latest version is 2013. Another one of the useful stuff 
abandonned by AdaCore.

> available?
Yes, from Adacore's community download page.


-- 
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

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2021-06-16  8:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  8:56 Any chance of programming a web frontend in Ada 2012? Marius Amado-Alves
2021-06-08  9:21 ` Jeffrey R. Carter
2021-06-08 13:42   ` Marius Amado-Alves
2021-06-08 16:04     ` Jeffrey R. Carter
2021-06-08 14:45   ` Marius Amado-Alves
2021-06-08  9:35 ` Max Reznik
2021-06-08 15:22   ` Max Reznik
2021-06-08 16:06     ` Luke A. Guest
2021-06-08 16:19       ` Maxim Reznik
2021-06-10 15:16         ` Shark8
2021-06-10 15:42           ` Luke A. Guest
2021-06-10 13:33     ` Shark8
2021-06-08 13:20 ` Luke A. Guest
2021-06-08 14:12   ` Marius Amado-Alves
2021-06-08 14:43     ` Luke A. Guest
2021-06-08 14:55       ` Marius Amado-Alves
2021-06-08 15:08         ` Luke A. Guest
2021-06-08 15:01 ` Marius Amado-Alves
2021-06-08 16:26   ` Maxim Reznik
2021-06-09  5:02     ` ASIS for Gnat (was: " J-P. Rosen
2021-06-11 18:47       ` Stephen Leake
2021-06-11 20:31         ` J-P. Rosen
2021-06-12 10:47       ` Rod Kay
2021-06-12 14:04         ` J-P. Rosen
2021-06-14 12:37           ` Shark8
2021-06-15 21:40             ` Marius Amado-Alves
2021-06-16  8:41               ` J-P. Rosen
2021-06-10 15:18     ` Shark8
2021-06-11  0:44   ` Paul Rubin

comp.lang.ada

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://archive.legitdata.co/comp.lang.ada

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 comp.lang.ada comp.lang.ada/ https://archive.legitdata.co/comp.lang.ada \
		comp.lang.ada
	public-inbox-index comp.lang.ada

Example config snippet for mirrors.


AGPL code for this site: git clone http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git