comp.lang.ada
 help / color / mirror / Atom feed
From: raph.amiard@gmail.com
Subject: Re: Ada++
Date: Fri, 29 May 2020 02:43:47 -0700 (PDT)
Date: 2020-05-29T02:43:47-07:00	[thread overview]
Message-ID: <94b7b004-6d12-4586-b1d0-cb2a21ac52f0@googlegroups.com> (raw)
In-Reply-To: <188c7ade-b9ce-4bd7-8752-64e0c8a3a0f2@googlegroups.com>

Le vendredi 29 mai 2020 11:23:22 UTC+2, fabien....@gmail.com a écrit :
> On Friday, May 29, 2020 at 8:06:34 AM UTC+2, J-P. Rosen wrote:
> > Please provide a use case showing how these features are
> > necessary/important.
> 
> https://github.com/alire-project/alire/blob/dfa1e1e8029dee2959742b73ed8a0fc96e22c8de/src/alr/alr-commands-index.adb#L171

Or in GNAT: https://github.com/aosm/libstdcxx_SUPanWheat/blob/02812415a478d43bcc37a17bb779fcab146fbe4c/libstdcxx/gcc/ada/snames.adb#L59

Or in Libadalang:

https://github.com/AdaCore/libadalang/blob/1cf553d5fc37317c670888f0893bc25560c85b7b/ada/extensions/src/libadalang-env_hooks.adb#L47

Those are just two examples on the top of my mind. Every time you want to embed a multi line string in an Ada app you need to go through this frankly annoying gymnastics.

This is also annoying for compiler writers. In Libadalang we need to recognize those as special cases because they can create comb trees of unbounded depth.

> They are totally useless. [Embedding was never a good idea, embedded
SQL, embedded machine code etc.]

Demonstrably not. Anyway those kind of blanket statements tends to be false in general, I hope you can see that there are many legitimate use cases for this, and that the fact that you did not need it doesn't mean it's useless.

  reply	other threads:[~2020-05-29  9:43 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 22:33 Ada++ Jerry
2020-05-29  2:09 ` Ada++ Nasser M. Abbasi
2020-05-29  2:57   ` Ada++ Rick Newbie
2020-05-29  9:49     ` Ada++ raph.amiard
2020-05-29  9:51     ` Ada++ gautier_niouzes
2020-05-30  1:32       ` Ada++ Rick Newbie
2020-05-30  6:52         ` Ada++ gautier_niouzes
2020-05-30  7:04           ` Ada++ Rick Newbie
2020-05-30  7:31           ` Ada++ Dmitry A. Kazakov
     [not found]           ` <rb05fk$l5r$1@dont-email.me>
2020-05-31 21:20             ` Ada++ gautier_niouzes
2020-05-29 10:36     ` Ada++ Luke A. Guest
2020-05-30  1:35       ` Ada++ Rick Newbie
2020-05-29 11:09     ` Ada++ Björn Lundin
2020-05-29 12:31       ` Ada++ Nasser M. Abbasi
2020-05-29 21:57       ` Ada++ Optikos
2020-05-31 11:40         ` Ada++ Björn Lundin
2020-05-31 15:51           ` Ada++ J-P. Rosen
2020-05-30  1:36       ` Ada++ Rick Newbie
2020-05-29  3:45 ` Ada++ Optikos
2020-05-29 15:41   ` Ada++ Optikos
2020-05-29  3:54 ` Ada++ cantanima.perry
2020-05-29 10:41   ` Ada++ Luke A. Guest
2020-05-29  4:17 ` Ada++ Wesley Pan
2020-05-29  4:38   ` Ada++ Nasser M. Abbasi
2020-05-29  6:06     ` Ada++ J-P. Rosen
2020-05-29  6:56       ` Ada++ Dmitry A. Kazakov
2020-05-29  7:22         ` Ada++ J-P. Rosen
2020-05-29  9:23       ` Ada++ fabien.chouteau
2020-05-29  9:43         ` raph.amiard [this message]
2020-05-29 10:27           ` Ada++ Jeffrey R. Carter
2020-05-29 11:00             ` Ada++ Dmitry A. Kazakov
2020-05-29 20:57           ` Ada++ J-P. Rosen
2020-06-13  9:40       ` Ada++ Nasser M. Abbasi
2020-06-13 10:03         ` Ada++ gautier_niouzes
2020-06-13 10:11           ` Ada++ Nasser M. Abbasi
2020-06-13 10:07         ` Ada++ Dmitry A. Kazakov
2020-06-14  5:29         ` Ada++ J-P. Rosen
2020-05-30 15:25 ` Ada++ ric.wai88
2020-05-30 17:02   ` Ada++ Stéphane Rivière
2020-05-30 20:56   ` Ada++ Optikos
2020-05-30 21:58     ` Ada++ ric.wai88
2020-06-05 22:37       ` Ada++ Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2004-10-22 13:22 Ada# fabio de francesco
2004-10-22 13:36 ` Ada# Marc A. Criley
     [not found] <200203220829.JAA11725@bulgaria.otn.eurocopter.de>
2002-03-22 15:55 ` Ada? sk
2002-03-22  8:29 Ada? Christoph Grein
2002-03-22 14:57 ` Ada? Ted Dennison
2002-03-22 15:34   ` Ada? Jean-Pierre Rosen
     [not found] <200203220654.HAA11171@bulgaria.otn.eurocopter.de>
2002-03-22  7:58 ` Ada? sk
     [not found] ` <3C9AE426.471865A1@myob.com>
2002-03-22  8:05   ` Ada? sk
2002-03-22  6:54 Ada? Christoph Grein
2002-02-19 21:21 Ada? anymous
2002-02-19 22:02 ` Ada? chris.danx
2002-02-19 23:38 ` Ada? Larry Kilgallen
2002-02-24  3:23 ` Ada? Nick Roberts
2002-02-24 15:09   ` Ada? Georg Bauhaus
2002-02-27 15:26   ` Ada? Enrico A.
2002-03-19 15:06     ` Ada? Colin Paul Gloster
2002-03-19 20:57       ` Ada? Ted Dennison
2002-03-19 22:00         ` Ada? Dan Andreatta
2002-03-19 23:45           ` Ada? Larry Kilgallen
2002-03-20 14:26           ` Ada? Ted Dennison
     [not found]             ` <3C98E9CC.45D733F2@west.raytheon.com>
2002-03-21  9:39               ` Ada? Preben Randhol
2002-03-20  2:08         ` Ada? Adrian Hoe
2002-03-20 17:39           ` Ada? Marin David Condic
2002-03-22  1:56             ` Ada? Adrian Hoe
2002-03-22  2:34               ` Ada? Richard Riehle
2002-03-20  1:41     ` Ada? Adrian Hoe
2002-03-20  2:34       ` Ada? DPH
2002-03-20 10:52       ` Ada? Reinert Korsnes
2002-03-20 13:32       ` Ada? Gary Scott
2002-02-27 21:37 ` Ada? Ken Pinard
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox