jonathan expounded in news:49fb3586-981d-46a8-a023-f43c8fa47c36 @t23g2000yqt.googlegroups.com: > On Mar 9, 9:57�pm, Charmed Snark wrote: >> jonathan expounded in news:dc294dc4-c89d-4cc0-9826-ac2848277771 >> @o3g2000yqb.googlegroups.com: >> > On Mar 9, 2:49�pm, Warren Gay wrote: >> >> This is the one main issue that made me give up on Ada a few >> >> years back. It seemed that every project that I wanted >> >> to do, required me to create a "binding" for this and >> >> another for that. Sing "It's a C/C++ world after all". >> .. >> >> Another approach might be to create a "binding translator". >> >> Feed a C/C++ preprocessed output into the translator and >> >> crank out some ugly but functional package(s). >> > Some more detail on the AdaCore binding translator Jacob mentioned ... >> > Recently I decided I wanted a binding to C package, googled for >> > a tutorial, and found gem 59 and gem 60 >> >> >http://www.adacore.com/2009/02/23/gem-59/ >> >> > Thanks AdaCore! �I couldn't have written a binding myself even >> > in the easiest limit. All I did was type (iirc) >> > � � � �g++ -c -fdump-ada-spec -C �file_name.h >> > Jonathan >> >> Hey, that is good news! I'll definitely check it out. >> Warren > > I should add that I did not put it to a severe test. > The binding it created was 22 files, about 1500 semicolons. > I trimmed it to 1 file, 26 semicolons in length to get > my program working. It would have been more work > to fix everything (though once you figure out what can > go wrong its not as hard). > > Jonathan I do most of my work under cygwin (laptop) since that is what I have with me on the road and at work. But the current cygwin versions don't seem to support -fdump-ada-spec. But hopefully someday, it'll be everywhere. Warren