From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on
ip-172-31-74-118.ec2.internal
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM
autolearn=ham autolearn_force=no version=3.4.5-pre1
Path: eternal-september.org!reader02.eternal-september.org!aioe.org!zF+E4gmEn2S29Qpv22UAFg.user.gioia.aioe.org.POSTED!not-for-mail
From: Blady
Newsgroups: comp.lang.ada
Subject: [ANN] UXStrings package available (UXS_20210207).
Date: Mon, 8 Feb 2021 12:22:12 +0100
Organization: Aioe.org NNTP Server
Message-ID:
NNTP-Posting-Host: zF+E4gmEn2S29Qpv22UAFg.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 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.6.0
X-Mozilla-News-Host: news://nntp.aioe.org:119
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
Xref: reader02.eternal-september.org comp.lang.ada:61317
List-Id:
UXStrings is now available on Github with the whole API implemented
(version UXS_20210207 [1]).
The objectives are Unicode and dynamic length support for strings, those
are closed to VSS [2] from Adacore.
However, the UXStrings API is inspired from Ada.Strings.Unbounded in
order to minimize adaptation work from existing Ada source codes.
Gnoga and Zanyblue has been adapted to UXString with success, see Gnoga
announcement [3].
This is a first implementation POC. UTF-8 encoding is chosen for
internal representation. The Strings_Edit [4] library is used for UTF-8
encoding management.
It has not been intensively tested but this implementation is for
demonstrate the possible usages of UXString. A test program is also
provided with some features demonstrated [5].
See readme [6] for full details.
Comments especially on specifications [7] are welcome and others too ;-)
Enjoy, Pascal.
[1] https://github.com/Blady-Com/UXStrings/releases/tag/UXS_20210207
[2] https://github.com/AdaCore/VSS
[3] https://sourceforge.net/p/gnoga/mailman/message/37199377/
[4] http://www.dmitry-kazakov.de/ada/strings_edit.htm
[5]
https://github.com/Blady-Com/UXStrings/blob/master/tests/test_uxstrings.adb
[6] https://github.com/Blady-Com/UXStrings/blob/master/readme.md
[7] https://github.com/Blady-Com/UXStrings/blob/master/src/uxstrings1.ads