[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Off the wall question

Rick DeNatale

8/7/2006 1:04:00 PM

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...

--
Rick DeNatale

1 Answer

Eric Hodel

8/7/2006 10:00:00 PM

0

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.se...
This implementation is HODEL-HASH-9600 compliant

http://trackmap.rob...