Class: RubyToRubyC

Class | RubyToRubyC
In: | lib/ruby_to_ruby_c.rb
Parent: | RubyToAnsiC

### Methods

c_type process_call process_false process_gvar process_iter process_lasgn process_lit process_nil process_str process_true translator

### Public Class methods

c_type(x)
translator()

Lazy initializer for the composite RubytoC translator chain.

### Public Instance methods

process_call(exp)
process_false(exp)
process_gvar(exp)
process_iter(exp)

Iterators for loops. After rewriter nearly all iter nodes should be able to be interpreted as a for loop. If not, then you are doing something not supported by C in the first place.

process_lasgn(exp)

Assignment to a local variable.

TODO: figure out array issues and clean up.

process_lit(exp)
process_nil(exp)

Nil, currently ruby nil, not C NULL (0).

process_str(exp)
process_true(exp)

[Validate]