From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Musing on defining attributes and the ability to define an "abstract type X"-interface.
Date: Fri, 4 Aug 2017 19:17:56 -0500
Date: 2017-08-04T19:17:56-05:00 [thread overview]
Message-ID: <om32rl$ess$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: ae46a44e-ee1e-42f6-ae8d-a02ae012e31d@googlegroups.com
"Shark8" <onewingedshark@gmail.com> wrote in message
news:ae46a44e-ee1e-42f6-ae8d-a02ae012e31d@googlegroups.com...
...
>IOW, what I want to do is leverage the language's underlying concepts,
>making
>them explicit, and using *THAT* to unify/define what is already (in some
>sense)
>required... like how universal_integer attributes require a bignum package,
>but
>the language doesn't require its exposure.
I made a stab at this some years ago (see the discussion of AI12-0021-1);
the idea was to define a Root_String_Type that all of the others are derived
from. Some messing around is needed to get literals and conversions. Idea
being that a routine taking a Root_String_Type'Class parameter could handle
any text string, with any representation or storage management (i.e.
unbounded or fixed), without any explicit code.
I have no idea if there is any interest in pursuing this approach, or some
similar approach; I don't think we ever discussed it in a meeting.
Internationalization is supposed to be further addressed in Ada 2020, so I
would hope that we'd discuss it someday soon.
Randy.
next prev parent reply other threads:[~2017-08-05 0:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 0:06 Musing on defining attributes and the ability to define an "abstract type X"-interface Shark8
2017-07-20 7:52 ` Dmitry A. Kazakov
2017-07-20 16:37 ` Shark8
2017-07-20 17:40 ` Dmitry A. Kazakov
2017-07-20 20:12 ` Jacob Sparre Andersen
2017-08-04 3:05 ` Shark8
2017-08-04 6:48 ` Simon Wright
2017-08-04 7:10 ` Dmitry A. Kazakov
2017-08-05 0:17 ` Randy Brukardt [this message]
2017-08-05 6:25 ` Dmitry A. Kazakov
2017-08-05 16:51 ` Shark8
2017-08-05 17:18 ` Dmitry A. Kazakov
2017-08-05 21:29 ` Shark8
2017-08-06 7:04 ` Dmitry A. Kazakov
2017-08-07 23:06 ` Randy Brukardt
2017-08-08 17:28 ` Shark8
2017-08-09 1:12 ` Randy Brukardt
2017-08-09 18:17 ` G.B.
2017-08-07 23:12 ` Randy Brukardt
2017-08-08 8:10 ` Dmitry A. Kazakov
2017-08-09 0:44 ` Randy Brukardt
2017-08-09 6:55 ` Dmitry A. Kazakov
2017-08-09 23:22 ` Randy Brukardt
2017-08-10 7:02 ` Dmitry A. Kazakov
2017-08-11 0:40 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox