[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Grokking the C code

Aquarius

11/11/2007 7:04:00 PM

Hello.

Last few days I've been spending parts of the evenings digging into
Ruby's C code. I'm trying to get a basic idea of how everything works,
both to learn and to introduce some tweaks in the language (just for
my personal enjoyment). I'm finding that as a big bite, though. Can
you guys recommend me how to tackle the whole thing? And is there some
basic overview of how the code works (for example, how eval.c works
and what are the frame, tag, iter and so on structs) from which I get
get the big idea?

3 Answers

Brad Ediger

11/11/2007 7:10:00 PM

0


On Nov 11, 2007, at 1:03 PM, Stefan Kanev wrote:

> Last few days I've been spending parts of the evenings digging into
> Ruby's C code. I'm trying to get a basic idea of how everything works,
> both to learn and to introduce some tweaks in the language (just for
> my personal enjoyment). I'm finding that as a big bite, though. Can
> you guys recommend me how to tackle the whole thing? And is there some
> basic overview of how the code works (for example, how eval.c works
> and what are the frame, tag, iter and so on structs) from which I get
> get the big idea?

Definitely start out with the Ruby Hacking Guide:

http://rhg.ruby...

Only a few chapters have been translated into English so far, but it
should be more than enough to get you started.

-be

Mohit Sindhwani

11/11/2007 7:32:00 PM

0

Brad Ediger wrote:
>
> On Nov 11, 2007, at 1:03 PM, Stefan Kanev wrote:
>
>> Last few days I've been spending parts of the evenings digging into
>> Ruby's C code. I'm trying to get a basic idea of how everything works,
>> both to learn and to introduce some tweaks in the language (just for
>> my personal enjoyment). I'm finding that as a big bite, though. Can
>> you guys recommend me how to tackle the whole thing? And is there some
>> basic overview of how the code works (for example, how eval.c works
>> and what are the frame, tag, iter and so on structs) from which I get
>> get the big idea?
>
> Definitely start out with the Ruby Hacking Guide:
>
> http://rhg.ruby...
>
> Only a few chapters have been translated into English so far, but it
> should be more than enough to get you started.
>
> -be
>
>

Thanks for the link!! It makes extremely interesting reading :)
...and very distracting too!

Cheers,
Mohit.
11/12/2007 | 3:31 AM.




Jano Svitok

11/12/2007 4:00:00 PM

0

On Nov 11, 2007 8:03 PM, Stefan Kanev <stefan.kanev@gmail.com> wrote:
> Hello.
>
> Last few days I've been spending parts of the evenings digging into
> Ruby's C code. I'm trying to get a basic idea of how everything works,
> both to learn and to introduce some tweaks in the language (just for
> my personal enjoyment). I'm finding that as a big bite, though. Can
> you guys recommend me how to tackle the whole thing? And is there some
> basic overview of how the code works (for example, how eval.c works
> and what are the frame, tag, iter and so on structs) from which I get
> get the big idea?

http://eigenclass.org/hiki/ruby+inter...