From: Harry Ohlsen Date: 2001-11-30T01:14:43+09:00 Subject: [ruby-talk:26922] Re: Extensions with C: laziness as virtue :-) In article , "Hugh Sasse Staff Elec Eng" wrote: > Given the idea that laziness is supposed to be a virtue in programming > :-) has anyone written a piece of ruby that will take C source, and wrap > all the functions up into one object with lots of methods, for use by > Ruby? > > This is nontrivial as it requires the C to be parsed, so I suspect the > answer will be no.... I'm not having a very good success rate with my posts today, but I'll make a comment, anyway ... Perhaps one could compile the code with debug and use the same information gdb uses. I'm not sure whether there is enough information in there to work everything out; just a thought, since it would avoid doing all the parsing.