I think this is the death knell of most people trying to casually pick up Ada or most used-but-not-extremely-popular languages from the 70's and 80's, our expectation of doing something meaningful and sensible has just moved so far that not having the supporting libraries means a lot of upfront work. I think I've gotten stuck here for LISP, getting back into Pascal, Ada, and probably some other languages I wanted to experiment building a modest size application with.
It really shows how valuable having that very active and mature core library or managed package library is to a language. I did the same learning path as the prior poster but then just ended up stuck.
Part of it is admittedly laziness and used to a certain convenience. There's no package manager for the language, and OS package managers rarely carry used-but-not-extremely-popular language bindings. But the code is out there, like this SDL2 binding: https://github.com/Lucretia/sdlada
Writing bindings for C libraries is ridiculously easy. You can run a script that generates the corrects .ads for a header file and then... wait, there is no step 2. That's it!
That is cool. Is the script something I can download somewhere?
Re:Learning Ada
by OneWingedShark on Monday April 15, 2019 @10:10AM
(#19665390)
If you have GCC or G++, simply use the `-fdump-ada-spec` command-line option; done.
[1] https://en.wikibooks.org/wiki/Ada_Programming
[2] https://flyx.org/2012/06/13/adabindings1/