This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: RubyConf, Here I Come!
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
My rubyconf 2005 presentation proposal was accepted!
I plan on talking about all the technologies and toys that have spawned out of the metaruby project. The whole fam.
I plan on illustrating the family's usefulness and power through examples including: an example of RubyInline, a language extension for RubyInline, aparse tree complexity metric grapher, a simple example of ruby2c translation, amaintainable and fast profiler, a Ruby obfuscator, and a dynamic Ruby optimizer that requires zero effort to use.
For fun, here is something I scratched up tonight with Eric to play with the idea of lisp-like ruby posted on redhanded recently. Check it, real s-expressions in ruby:
require 'ruby2ruby'
class Module
def _(sexp)
self.module_eval RubyToRuby.new.process(sexp)
end
end
class Foo
_ [:defn, :example, [:args], [:call, [:lit, 1], :+, [:array, [:lit, 1]]]]
end
p Foo.new.example
=> 2