From: Roger Pack Date: 2009-03-14T21:16:48+09:00 Subject: Re: Hi..About Gsoc 2009 project ideas... > However in Ruby i didn come accross such a framework for > specifying/processing annoations and its purely my assumption that ruby > currently doesn't support such behavior (if i'm wrong pls some one > enlighten > me on this ) . I'm no annotaion frameworks geek , bt would really like > suggest this as a Gsoc proposal for Ruby and willng to undertake such a > project with a mentor who knws this stuff well.. > And thnx again for ur kind feedback.. 'Right currently the only "blessed" annotation is that if you have comments justified with your first line of a method those are used for rdoc generation :) Typically to add annotations I believe you roll your own with method_added [1 is an example]. Good luck! -=r [1] http://www.codecommit.com/blog/ruby/adding-type-checking-to-ruby re: type specifying which this link contains Now that I think about it, I wonder if there's a way to do some type of static ruby type hinting, a la duby, something like module M static_section do typeSig a: Numeric, b: String def go(a, b) # this can be compiled down to C or have byte code emitted for it or what not. end end end Then those spiffy ruby2c or JIT compilers would be helped along their way, I guess. Just wishing for a ruby psyco still :) -- Posted via http://www.ruby-forum.com/.