Ruby Hacking Guide

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

The RHG is a book that explains how the ruby 1.7.x-1.8.x interpreter (the official C implementation of the Ruby language) works internally. The original book was based on the source code of ruby 1.7.3 so there are a few small differences to the current version of ruby. However, these differences may make the source code simpler to understand and the Ruby Hacking Guide is a good starting point before looking into the ruby source code. The version of the source code used can be downloaded here: http://i.loveruby.net/ja/rhg/ar/ruby-rhg.tar.gz.

This project is picking up from where Vincent Isambart and Clifford Escobar have left off[1], with the aim to translate the outstanding chapters to English to help Ruby hackers understand the internals of the MRI interpreter.

Coordinating Translation

This book is new and could use your help. We need help with proof-reading, content authoring, editing and more. This is a wiki, so feel free to join in our discussion group: http://groups.google.com/group/ruby-hacking-guide/topics

Table of Contents

Part 1: Objects

Part 2: Syntax analysis

Part 3: Evaluation

Part 4: Around the evaluator