Skip to content

Problem when I use Iterator #6

@Rajagopalan-M

Description

@Rajagopalan-M

Hi, I am using Ruby 2.5.1. I actually doesn't understand the motto of this project clearly. I don't understand what do you mean static ruby subset ? Can you explain what does it mean? I tried this program

require 'ruby_parser'
require 'ruby_to_ruby_c'

sexp = RubyParser.new.parse "a=[2,23,4,4,4]
a.each do |i|
puts i
end
"
c  = RubyToRubyC.new.process sexp

puts c

It's giving me the error. Can you explain me how to convert the above program into C?

Or do you have any material to study about this? I wanted to convert my ruby project into C so that I can compile and create the exe.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions