I highly recommend checking out the Ruby source code.. it's some of the best C code I've seen. It's not all that big, and it's pretty easy to follow.
I've even seen people use it as a kind of framework for writing C code in a ruby style. :)
I've even seen people use it as a kind of framework for writing C code in a ruby style. :)
If trolling through language implementations is your kind of thing, I'd suggest having a look at Lua or Python as well (I never got Perl to configure, let alone compile) - then you can compare and contrast with the way things are done in Ruby.
Lua too, but Lua also has the advantage of being so tiny it's easier to read.