C parser and code generator for ruby