comp.lang.ada
 help / color / mirror / Atom feed
From: Devin Rozsas <devinrozsas@gmail.com>
Subject: Re: Currency Library for Ada?
Date: Thu, 4 May 2023 10:59:11 -0700 (PDT)	[thread overview]
Message-ID: <5cd9b9e2-03ea-4fd7-ad93-0ea7c745fd8fn@googlegroups.com> (raw)
In-Reply-To: <30b4ef1e-cca5-4837-9228-640e66d0d96bn@googlegroups.com>

Em quinta-feira, 13 de abril de 2023 às 11:17:28 UTC-3, A.J. escreveu:
> Does anyone know if Ada has a currency library? Ideally one that includes the ISO 4217 currency standard? 
> 
> I've seen currency referenced as examples in the Style Guide[1] and other documentation[2] but I'm having trouble searching for anything concrete (and googling "ada" and "currency" has not helped due to some unfortunately named crypto stuff). 
> 
> I'm also interested in if there's any ada libraries for iso 3166 (country codes). 
> 
> If none of this exists, that's fine, it just gives me a reason to build it out myself, but I don't want duplication of effort :) 
> 
> AJ. 
> 
> [1] https://ada-lang.io/docs/style-guide/Reusability/#guideline-16 
> [2] https://docs.adacore.com/live/wave/aunit/html/aunit_cb/aunit_cb/fixture.html

I'm actually making something like this, but it isn't complete, and uses Lua scripts to handle different currencies (and formating).
It also has location support (country, state, city) and language support, including message translation (so the program can output stuff in the user's language). For this, TOML is used.

It uses Glottolog codes to identify languages, and FIFA codes for the countries.

I paused the development because I'm focusing on another project that has been causing me some headaches lately.
It's broken and cannot deliver what you want - as of now.

  parent reply	other threads:[~2023-05-04 17:59 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.
2023-05-04 17:59 ` Devin Rozsas [this message]
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