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…
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 H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com