The New Members Page

At the last open Ada-DK meeting we talked about setting up a members page, so I’ve gone and done just that.

The New Members Page.

As you can see, it’s not heavily populated yet, but the word is out and I’m hoping some of the Ada-DK members will react and sign up for the members page.

On another positive note, it’s worth mentioning that we’ve also setup a usenet group and a maillist for Ada-DK members. Things are moving fast here in Ada-DK land.

Using GNAT.String_Split to split a string

I’ve written a new article for our wiki:

GNAT.String_Split Basic Usage Example.

Splitting a string into smaller parts based on one or more separators is not an uncommon task in programming, so when I stumbled on an Ada example for doing just that (thanks caracal!), I jumped at the opportunity to turn it into a short beginner article. And this really is a beginners article, so everybody should be able to understand what’s going on.

I hope.

As usual I’ve done my best to honor Ada by not letting too many bugs and errors slip by, but there’s a good chance I might’ve failed somewhere. If so, please let me know, or just fix it yourself. It is a wiki after all, so you have that power.

Using A Generic To Read A Configuration File

I’ve written a new article for our wiki:

Simple Configuration File Reader – Using A Generic

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.


Catching And Handling Interrupts In Ada

I’ve written a new article for the Ada-DK Wiki: Catching And Handling Interrupts In Ada.

Well, “article” might be too big a word for it – it’s probably more a simple presentation of three small source files, with some strategically placed comments.

If you don’t care about the article, you can go straight to the code at GitHub.