[macruby] #70: Need a RubyCocoa compatible layer
#70: Need a RubyCocoa compatible layer -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: eloy.de.enige@gmail.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- To preserve backwards compatibility, but also to help developers to migrate their code from RubyCocoa to MacRuby, we need a small layer on top of MacRuby that emulates the RubyCocoa syntax and semantics. The layer would ship with MacRuby, and would emit warnings on every RubyCocoa-specific expression, to explain the developer how to rewrite it for MacRuby and get rid of the warning. The warnings would be emitted by default, but we also need a way to disable them (even if -w is passed to the interpreter). Some developers might want to use the layer as is and not port their code immediately. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/70> macruby <http://ruby.macosforge.org/>
#70: Need a RubyCocoa compatible layer -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: eloy.de.enige@gmail.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Resolution: Keywords: | -----------------------------------+---------------------------------------- Old description:
To preserve backwards compatibility, but also to help developers to migrate their code from RubyCocoa to MacRuby, we need a small layer on top of MacRuby that emulates the RubyCocoa syntax and semantics.
The layer would ship with MacRuby, and would emit warnings on every RubyCocoa-specific expression, to explain the developer how to rewrite it for MacRuby and get rid of the warning.
The warnings would be emitted by default, but we also need a way to disable them (even if -w is passed to the interpreter). Some developers might want to use the layer as is and not port their code immediately.
New description: To preserve backwards compatibility, but also to help developers to migrate their code from RubyCocoa to !MacRuby, we need a small layer on top of !MacRuby that emulates the RubyCocoa syntax and semantics. The layer would ship with !MacRuby, and would emit warnings on every RubyCocoa-specific expression, to explain the developer how to rewrite it for !MacRuby and get rid of the warning. The warnings would be emitted by default, but we also need a way to disable them (even if -w is passed to the interpreter). Some developers might want to use the layer as is and not port their code immediately. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/70#comment:1> macruby <http://ruby.macosforge.org/>
#70: Need a RubyCocoa compatible layer -----------------------------------+---------------------------------------- Reporter: lsansonetti@apple.com | Owner: eloy.de.enige@gmail.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.3 Component: MacRuby | Resolution: Keywords: | -----------------------------------+---------------------------------------- Comment (by lsansonetti@apple.com): One thing to add also is the syntax-sugar layer that was written on top of the Cocoa structures (the oc_types.rb file). -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/70#comment:2> macruby <http://ruby.macosforge.org/>
participants (1)
-
macruby