I’ve written a new article for our wiki:
As the name implies, the article is all about how to read a configuration file using a generic. The general idea is that a generic is instantiated for every configuration file you need in your program.
Default values are of course also supported.
I’ve tried making the code as neat and clean as possible, but if you spot anything that’s ugly (or just plain un-Ada’ish) then please let me know. Or just change it. It’s a wiki page. You have that power.
For those not interested in the article, but just the code, feel free to pull it from the GitHub repository.