From: Eric Hodel Date: 2006-08-08T07:00:07+09:00 Subject: Re: Off the wall question On Aug 7, 2006, at 6:03 AM, Rick DeNatale wrote: > I found myself wondering if anyone has written any kind of rubyinline > in reverse. > > What I'm talking about is a tool that could process some of the core > ruby source files like array.c, hash.c etc., and produce equivalent > ruby code. > > Of course this wouldn't work for arbitrary c code, or even arbitrary > ruby extensions, but... There's a lot of pure-C-ness in the Ruby stdlib that this isn't workable. See String#split's implementation. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com