Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It's what you learn after you know it all that counts." -- John Wooden


devel / comp.lang.ada / Any chance of programming a web frontend in Ada 2012?

SubjectAuthor
* Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
+* Re: Any chance of programming a web frontend in Ada 2012?Jeffrey R. Carter
|+* Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
||`- Re: Any chance of programming a web frontend in Ada 2012?Jeffrey R. Carter
|`- Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
+* Re: Any chance of programming a web frontend in Ada 2012?Max Reznik
|`* Re: Any chance of programming a web frontend in Ada 2012?Max Reznik
| +* Re: Any chance of programming a web frontend in Ada 2012?Luke A. Guest
| |`* Re: Any chance of programming a web frontend in Ada 2012?Maxim Reznik
| | `* Re: Any chance of programming a web frontend in Ada 2012?Shark8
| |  `- Re: Any chance of programming a web frontend in Ada 2012?Luke A. Guest
| +- Re: Any chance of programming a web frontend in Ada 2012?Shark8
| `- Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
+* Re: Any chance of programming a web frontend in Ada 2012?Luke A. Guest
|`* Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
| `* Re: Any chance of programming a web frontend in Ada 2012?Luke A. Guest
|  `* Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
|   `- Re: Any chance of programming a web frontend in Ada 2012?Luke A. Guest
`* Re: Any chance of programming a web frontend in Ada 2012?Marius Amado-Alves
 +* Re: Any chance of programming a web frontend in Ada 2012?Maxim Reznik
 |+* ASIS for Gnat (was: Any chance of programming a web frontend in AdaJ-P. Rosen
 ||+* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?Stephen Leake
 |||`- Re: ASIS for Gnat (was: Any chance of programming a web frontend inJ-P. Rosen
 ||`* Re: ASIS for Gnat (was: Any chance of programming a web frontend inRod Kay
 || `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inJ-P. Rosen
 ||  `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inShark8
 ||   `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inMarius Amado-Alves
 ||    `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inJ-P. Rosen
 ||     +* Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?Maxim Reznik
 ||     |`* Re: ASIS for Gnat (was: Any chance of programming a web frontend inMarius Amado-Alves
 ||     | `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inMarius Amado-Alves
 ||     |  `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inMaxim Reznik
 ||     |   `* Re: ASIS for Gnat (was: Any chance of programming a web frontend inMarius Amado-Alves
 ||     |    `- Re: ASIS for Gnat (was: Any chance of programming a web frontend inVadim Godunko
 ||     `- Re: ASIS for Gnat (was: Any chance of programming a web frontend inMarius Amado-Alves
 |`- Re: Any chance of programming a web frontend in Ada 2012?Shark8
 `- Re: Any chance of programming a web frontend in Ada 2012?Paul Rubin

Pages:12
Any chance of programming a web frontend in Ada 2012?

<d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5318&group=comp.lang.ada#5318

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:2ec:: with SMTP id a12mr19635603qko.92.1623142574785;
Tue, 08 Jun 2021 01:56:14 -0700 (PDT)
X-Received: by 2002:a25:8191:: with SMTP id p17mr30243248ybk.405.1623142574598;
Tue, 08 Jun 2021 01:56:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.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: Tue, 8 Jun 2021 01:56:14 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
Subject: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 08:56:14 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Marius Amado-Alves - Tue, 8 Jun 2021 08:56 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<s9ncqk$1nu$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5319&group=comp.lang.ada#5319

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: spam.jrc...@spam.not.acm.org (Jeffrey R. Carter)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 11:21:23 +0200
Organization: Also freenews.netfront.net; news.tornevall.net;
news.eternal-september.org
Lines: 17
Message-ID: <s9ncqk$1nu$1@dont-email.me>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Jun 2021 09:21:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="929725bedac6c2f07c0e3679dca33844";
logging-data="1790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qd70vJ8fzktDRikdEMdHi5iUBRrapdNU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
Cancel-Lock: sha1:cwzyGCAilIR2YIWby0xVAdEFtCo=
In-Reply-To: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
Content-Language: en-US
 by: Jeffrey R. Carter - Tue, 8 Jun 2021 09:21 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5320&group=comp.lang.ada#5320

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:5c8c:: with SMTP id r12mr1382007qta.265.1623144926648;
Tue, 08 Jun 2021 02:35:26 -0700 (PDT)
X-Received: by 2002:a25:cb48:: with SMTP id b69mr29711411ybg.173.1623144926408;
Tue, 08 Jun 2021 02:35:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.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: Tue, 8 Jun 2021 02:35:26 -0700 (PDT)
In-Reply-To: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a03:7380:380d:3b:3510:fc5a:6bf8:f7b0;
posting-account=Rc9gvwoAAADjsFaEVHxO3XVwotTsZioA
NNTP-Posting-Host: 2a03:7380:380d:3b:3510:fc5a:6bf8:f7b0
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: rez...@adacore.com (Max Reznik)
Injection-Date: Tue, 08 Jun 2021 09:35:26 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Max Reznik - Tue, 8 Jun 2021 09:35 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<s9nqrq$1qgp$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5321&group=comp.lang.ada#5321

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 14:20:46 +0100
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <s9nqrq$1qgp$1@gioia.aioe.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luke A. Guest - Tue, 8 Jun 2021 13:20 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<0ef6c7b2-4221-4c91-b161-58140f15bde3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5323&group=comp.lang.ada#5323

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:4ea8:: with SMTP id ed8mr145897qvb.58.1623159770922;
Tue, 08 Jun 2021 06:42:50 -0700 (PDT)
X-Received: by 2002:a25:4009:: with SMTP id n9mr31918957yba.73.1623159770741;
Tue, 08 Jun 2021 06:42:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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: Tue, 8 Jun 2021 06:42:50 -0700 (PDT)
In-Reply-To: <s9ncqk$1nu$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <s9ncqk$1nu$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0ef6c7b2-4221-4c91-b161-58140f15bde3n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 13:42:50 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Marius Amado-Alves - Tue, 8 Jun 2021 13:42 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<9778346a-b361-4038-8c1f-406830f6cd9an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5324&group=comp.lang.ada#5324

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:5ba5:: with SMTP id 5mr204947qvq.22.1623161538199; Tue, 08 Jun 2021 07:12:18 -0700 (PDT)
X-Received: by 2002:a25:6d02:: with SMTP id i2mr31817216ybc.309.1623161537940; Tue, 08 Jun 2021 07:12:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 07:12:17 -0700 (PDT)
In-Reply-To: <s9nqrq$1qgp$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <s9nqrq$1qgp$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9778346a-b361-4038-8c1f-406830f6cd9an@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 14:12:18 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: Marius Amado-Alves - Tue, 8 Jun 2021 14:12 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<s9nvm8$94e$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5325&group=comp.lang.ada#5325

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 15:43:09 +0100
Organization: Aioe.org NNTP Server
Lines: 8
Message-ID: <s9nvm8$94e$1@gioia.aioe.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<s9nqrq$1qgp$1@gioia.aioe.org>
<9778346a-b361-4038-8c1f-406830f6cd9an@googlegroups.com>
NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Luke A. Guest - Tue, 8 Jun 2021 14:43 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<07c1a36f-8af8-4ba5-b735-89efadb824cbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5326&group=comp.lang.ada#5326

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:20d7:: with SMTP id f23mr21994427qka.417.1623163500409;
Tue, 08 Jun 2021 07:45:00 -0700 (PDT)
X-Received: by 2002:a25:b2a0:: with SMTP id k32mr31579571ybj.92.1623163500224;
Tue, 08 Jun 2021 07:45:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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: Tue, 8 Jun 2021 07:45:00 -0700 (PDT)
In-Reply-To: <s9ncqk$1nu$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <s9ncqk$1nu$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07c1a36f-8af8-4ba5-b735-89efadb824cbn@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 14:45:00 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Marius Amado-Alves - Tue, 8 Jun 2021 14:45 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<d08387fa-39d1-4391-a1dd-dfec9a5199d8n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5327&group=comp.lang.ada#5327

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:e88b:: with SMTP id b11mr471039qvo.59.1623164150333; Tue, 08 Jun 2021 07:55:50 -0700 (PDT)
X-Received: by 2002:a25:2045:: with SMTP id g66mr29294726ybg.462.1623164150180; Tue, 08 Jun 2021 07:55:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 07:55:50 -0700 (PDT)
In-Reply-To: <s9nvm8$94e$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <s9nqrq$1qgp$1@gioia.aioe.org> <9778346a-b361-4038-8c1f-406830f6cd9an@googlegroups.com> <s9nvm8$94e$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d08387fa-39d1-4391-a1dd-dfec9a5199d8n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 14:55:50 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: Marius Amado-Alves - Tue, 8 Jun 2021 14:55 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5328&group=comp.lang.ada#5328

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:4e86:: with SMTP id 6mr13593451qtp.196.1623164480407;
Tue, 08 Jun 2021 08:01:20 -0700 (PDT)
X-Received: by 2002:a25:da8a:: with SMTP id n132mr31857416ybf.504.1623164480299;
Tue, 08 Jun 2021 08:01:20 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 08:01:20 -0700 (PDT)
In-Reply-To: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.60.6.132; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY
NNTP-Posting-Host: 94.60.6.132
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: amado.al...@gmail.com (Marius Amado-Alves)
Injection-Date: Tue, 08 Jun 2021 15:01:20 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1308
 by: Marius Amado-Alves - Tue, 8 Jun 2021 15:01 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<s9o150$11rc$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5329&group=comp.lang.ada#5329

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 16:08:04 +0100
Organization: Aioe.org NNTP Server
Lines: 23
Message-ID: <s9o150$11rc$1@gioia.aioe.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<s9nqrq$1qgp$1@gioia.aioe.org>
<9778346a-b361-4038-8c1f-406830f6cd9an@googlegroups.com>
<s9nvm8$94e$1@gioia.aioe.org>
<d08387fa-39d1-4391-a1dd-dfec9a5199d8n@googlegroups.com>
NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luke A. Guest - Tue, 8 Jun 2021 15:08 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5330&group=comp.lang.ada#5330

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:9244:: with SMTP id u65mr21920331qkd.46.1623165774477; Tue, 08 Jun 2021 08:22:54 -0700 (PDT)
X-Received: by 2002:a25:4641:: with SMTP id t62mr34667777yba.253.1623165773870; Tue, 08 Jun 2021 08:22:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 08:22:53 -0700 (PDT)
In-Reply-To: <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.57.98.164; posting-account=Rc9gvwoAAADjsFaEVHxO3XVwotTsZioA
NNTP-Posting-Host: 37.57.98.164
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: rez...@adacore.com (Max Reznik)
Injection-Date: Tue, 08 Jun 2021 15:22:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: Max Reznik - Tue, 8 Jun 2021 15:22 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<s9o4eq$lhm$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5331&group=comp.lang.ada#5331

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: spam.jrc...@spam.not.acm.org (Jeffrey R. Carter)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 18:04:40 +0200
Organization: Also freenews.netfront.net; news.tornevall.net;
news.eternal-september.org
Lines: 17
Message-ID: <s9o4eq$lhm$1@dont-email.me>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<s9ncqk$1nu$1@dont-email.me>
<0ef6c7b2-4221-4c91-b161-58140f15bde3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 8 Jun 2021 16:04:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="99a8554475440dfc79e24a3b484879b2";
logging-data="22070"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+nctfvJUDqVADkTs26p+HBwIJDPL2KCFI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.8.1
Cancel-Lock: sha1:8QVECCk2JKC+DJE/+GMjVWga6Qk=
In-Reply-To: <0ef6c7b2-4221-4c91-b161-58140f15bde3n@googlegroups.com>
Content-Language: en-US
 by: Jeffrey R. Carter - Tue, 8 Jun 2021 16:04 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<s9o4hk$p45$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5332&group=comp.lang.ada#5332

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Tue, 8 Jun 2021 17:06:01 +0100
Organization: Aioe.org NNTP Server
Lines: 5
Message-ID: <s9o4hk$p45$1@gioia.aioe.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>
<75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luke A. Guest - Tue, 8 Jun 2021 16:06 UTC

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?

Re: Any chance of programming a web frontend in Ada 2012?

<b18375ce-95b8-4f38-8c97-29812fec0e58n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5333&group=comp.lang.ada#5333

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ae9:e407:: with SMTP id q7mr20098742qkc.410.1623169182822; Tue, 08 Jun 2021 09:19:42 -0700 (PDT)
X-Received: by 2002:a25:fc1c:: with SMTP id v28mr32273908ybd.277.1623169182628; Tue, 08 Jun 2021 09:19:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 09:19:42 -0700 (PDT)
In-Reply-To: <s9o4hk$p45$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=37.57.98.164; posting-account=K1cP1QoAAAD_GR6kW2Td0NqGqGBLRE8h
NNTP-Posting-Host: 37.57.98.164
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com> <s9o4hk$p45$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b18375ce-95b8-4f38-8c97-29812fec0e58n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: rezni...@gmail.com (Maxim Reznik)
Injection-Date: Tue, 08 Jun 2021 16:19:42 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 7
 by: Maxim Reznik - Tue, 8 Jun 2021 16:19 UTC

вторник, 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

Re: Any chance of programming a web frontend in Ada 2012?

<20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5334&group=comp.lang.ada#5334

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:10cc:: with SMTP id r12mr847440qvs.21.1623169617815;
Tue, 08 Jun 2021 09:26:57 -0700 (PDT)
X-Received: by 2002:a25:4641:: with SMTP id t62mr35093815yba.253.1623169617658;
Tue, 08 Jun 2021 09:26:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!news-out.netnews.com!news.alt.net!fdc3.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 8 Jun 2021 09:26:57 -0700 (PDT)
In-Reply-To: <2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.57.98.164; posting-account=K1cP1QoAAAD_GR6kW2Td0NqGqGBLRE8h
NNTP-Posting-Host: 37.57.98.164
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com> <2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: rezni...@gmail.com (Maxim Reznik)
Injection-Date: Tue, 08 Jun 2021 16:26:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1862
 by: Maxim Reznik - Tue, 8 Jun 2021 16:26 UTC

вторник, 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

ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?

<s9pi1h$nss$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5336&group=comp.lang.ada#5336

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ros...@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: ASIS for Gnat (was: Any chance of programming a web frontend in Ada
2012?
Date: Wed, 9 Jun 2021 07:02:40 +0200
Organization: Adalog
Lines: 16
Message-ID: <s9pi1h$nss$1@dont-email.me>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
<20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 9 Jun 2021 05:02:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="417af52da06f95167042d9b7eadb9ef6";
logging-data="24476"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1856NFIBdlzS4WWQF4oUWEp"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:eblmoYONajnDsupHZL+7h7i5CUU=
In-Reply-To: <20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
Content-Language: fr
 by: J-P. Rosen - Wed, 9 Jun 2021 05:02 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<a559393f-83e6-43ee-9cdc-6498ed5624fbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5348&group=comp.lang.ada#5348

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:622a:100e:: with SMTP id d14mr5299974qte.254.1623332035500;
Thu, 10 Jun 2021 06:33:55 -0700 (PDT)
X-Received: by 2002:a25:4641:: with SMTP id t62mr8222872yba.253.1623332035334;
Thu, 10 Jun 2021 06:33:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.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, 10 Jun 2021 06:33:55 -0700 (PDT)
In-Reply-To: <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC
NNTP-Posting-Host: 146.5.2.231
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a559393f-83e6-43ee-9cdc-6498ed5624fbn@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: onewinge...@gmail.com (Shark8)
Injection-Date: Thu, 10 Jun 2021 13:33:55 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Shark8 - Thu, 10 Jun 2021 13:33 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<8e4f979d-7e67-494b-9a34-6385b94c080en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5351&group=comp.lang.ada#5351

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:5190:: with SMTP id b16mr24623qvp.61.1623338194316;
Thu, 10 Jun 2021 08:16:34 -0700 (PDT)
X-Received: by 2002:a25:7688:: with SMTP id r130mr4202692ybc.462.1623338194153;
Thu, 10 Jun 2021 08:16:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!tncsrv06.tnetconsulting.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 10 Jun 2021 08:16:33 -0700 (PDT)
In-Reply-To: <b18375ce-95b8-4f38-8c97-29812fec0e58n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC
NNTP-Posting-Host: 146.5.2.231
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com> <75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
<s9o4hk$p45$1@gioia.aioe.org> <b18375ce-95b8-4f38-8c97-29812fec0e58n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e4f979d-7e67-494b-9a34-6385b94c080en@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: onewinge...@gmail.com (Shark8)
Injection-Date: Thu, 10 Jun 2021 15:16:34 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: Shark8 - Thu, 10 Jun 2021 15:16 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<7fa180bc-d7b3-410e-a92f-5a00c5168846n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5352&group=comp.lang.ada#5352

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:7446:: with SMTP id h6mr127889qtr.272.1623338335384;
Thu, 10 Jun 2021 08:18:55 -0700 (PDT)
X-Received: by 2002:a5b:58e:: with SMTP id l14mr8567734ybp.303.1623338335257;
Thu, 10 Jun 2021 08:18:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Thu, 10 Jun 2021 08:18:55 -0700 (PDT)
In-Reply-To: <20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC
NNTP-Posting-Host: 146.5.2.231
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com> <20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7fa180bc-d7b3-410e-a92f-5a00c5168846n@googlegroups.com>
Subject: Re: Any chance of programming a web frontend in Ada 2012?
From: onewinge...@gmail.com (Shark8)
Injection-Date: Thu, 10 Jun 2021 15:18:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2317
 by: Shark8 - Thu, 10 Jun 2021 15:18 UTC

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.

Re: Any chance of programming a web frontend in Ada 2012?

<s9tbu6$1e17$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5353&group=comp.lang.ada#5353

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Thu, 10 Jun 2021 16:42:48 +0100
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <s9tbu6$1e17$1@gioia.aioe.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<4e8f2f27-3aed-4e0b-8ef1-ff16da9c664dn@googlegroups.com>
<75b3b2aa-b84c-4ec0-9563-73cb0ae3d062n@googlegroups.com>
<s9o4hk$p45$1@gioia.aioe.org>
<b18375ce-95b8-4f38-8c97-29812fec0e58n@googlegroups.com>
<8e4f979d-7e67-494b-9a34-6385b94c080en@googlegroups.com>
NNTP-Posting-Host: JUN8/iIzeA71QWaIWFKODA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luke A. Guest - Thu, 10 Jun 2021 15:42 UTC

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

Re: Any chance of programming a web frontend in Ada 2012?

<87lf7h2pst.fsf@nightsong.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5357&group=comp.lang.ada#5357

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: no.em...@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.ada
Subject: Re: Any chance of programming a web frontend in Ada 2012?
Date: Thu, 10 Jun 2021 17:44:18 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <87lf7h2pst.fsf@nightsong.com>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="318c66abeba39673ba606b44abfac087";
logging-data="17696"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bIZ4T0OZqWCv18BD+hcRm"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Cancel-Lock: sha1:u6HZjh2DD7o7UQoVo3dApCVDFM0=
sha1:TNxORrqv+liFYvJ1R25bYufFYSU=
 by: Paul Rubin - Fri, 11 Jun 2021 00:44 UTC

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.

Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?

<867dj05jdb.fsf@stephe-leake.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5369&group=comp.lang.ada#5369

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!pBWEO6hi52oGFheO/GY5ag.user.gioia.aioe.org.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?
Date: Fri, 11 Jun 2021 11:47:12 -0700
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <867dj05jdb.fsf@stephe-leake.org>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
<20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
<s9pi1h$nss$1@dont-email.me>
NNTP-Posting-Host: pBWEO6hi52oGFheO/GY5ag.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:CmxMF6bbWyC6Xrs4gi3o5v31LtU=
 by: Stephen Leake - Fri, 11 Jun 2021 18:47 UTC

"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

Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?

<sa0h6v$o9f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5372&group=comp.lang.ada#5372

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ros...@adalog.fr (J-P. Rosen)
Newsgroups: comp.lang.ada
Subject: Re: ASIS for Gnat (was: Any chance of programming a web frontend in
Ada 2012?
Date: Fri, 11 Jun 2021 22:31:25 +0200
Organization: Adalog
Lines: 25
Message-ID: <sa0h6v$o9f$1@dont-email.me>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
<20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
<s9pi1h$nss$1@dont-email.me> <867dj05jdb.fsf@stephe-leake.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 11 Jun 2021 20:31:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d8bd0e5b87fb75e41c2c8af2d59a2855";
logging-data="24879"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0PqU4ifr4My9o8Ongk3M2"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:8O2bBKAGHMsaSCdjV0NI1MkJx0I=
In-Reply-To: <867dj05jdb.fsf@stephe-leake.org>
Content-Language: fr
 by: J-P. Rosen - Fri, 11 Jun 2021 20:31 UTC

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

Re: ASIS for Gnat (was: Any chance of programming a web frontend in Ada 2012?

<sa23c5$ipk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5374&group=comp.lang.ada#5374

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: rodak...@gmail.com (Rod Kay)
Newsgroups: comp.lang.ada
Subject: Re: ASIS for Gnat (was: Any chance of programming a web frontend in
Ada 2012?
Date: Sat, 12 Jun 2021 20:47:29 +1000
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <sa23c5$ipk$1@dont-email.me>
References: <d34f63a1-dc22-43d7-8126-2dcfd0dd2599n@googlegroups.com>
<2b94c73e-c38e-4499-b3b2-7f4d88dfb979n@googlegroups.com>
<20208b1b-bbe5-438b-9cd5-06cb6774be32n@googlegroups.com>
<s9pi1h$nss$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Jun 2021 10:47:33 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7716319ae65ffd5d58fc86b46bec8dd1";
logging-data="19252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19thXjJDBjeDu2jeIt2bQt6VRxdFxsQKqU="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:MraQFcdn5QqgmrewwwQMAWxoIAM=
In-Reply-To: <s9pi1h$nss$1@dont-email.me>
Content-Language: en-US
 by: Rod Kay - Sat, 12 Jun 2021 10:47 UTC

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.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor