From: "A.J." <ianozia@gmail.com>
Subject: Re: Currency Library for Ada?
Date: Thu, 13 Apr 2023 11:12:19 -0700 (PDT) [thread overview]
Message-ID: <5fdd4e3b-1f0d-4337-a801-01e6dbce6de5n@googlegroups.com> (raw)
In-Reply-To: <u19ekf$12qdp$1@dont-email.me>
J-P. Rosen,
On Thursday, April 13, 2023 at 1:37:22 PM UTC-4, J-P. Rosen wrote:
> It's a standard package, Ada.Locales
Thanks for finding that! This looks like a good foundation for validating county codes, though it doesn't appear to contain an index of them, or expand into the 3-letter codes (e.g. USA vs US). I was looking into the implementation, and the GNAT[1] runtime seems to be true to spec, while the Drake runtime[2] looks like it's expanding into closer to what I'm looking for with its iso639 tables [3]. I may be able to build on this set, though and use the existing structures.
AJ
[1] https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/libgnat/a-locale.ads & https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/libgnat/a-locale.adb
[2] https://github.com/ytomino/drake/blob/master/source/environment/a-locale.ads
[3] https://github.com/ytomino/drake/blob/master/source/environment/a-locale.adb#L60
next prev parent reply other threads:[~2023-04-13 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 14:17 Currency Library for Ada? A.J.
2023-04-13 17:37 ` J-P. Rosen
2023-04-13 18:12 ` A.J. [this message]
2023-05-04 17:59 ` Devin Rozsas
2023-05-04 18:27 ` Devin Rozsas
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox