In this talk from RubyFringe, Reginald Braithwaite talks about his experiments with rewriting Ruby in Ruby.
Among his projects is the Rewrite gem, which brings hygienic macros to Ruby (using ParseTree to get the Ruby AST for Ruby code at runtime). He shows the origins of these ideas in languages as Scheme, LISP or Haskell, and how this approach could be used to write more expressive code without having to abuse concepts such as Open Classes.
Reginald has recently starting blogging about similar topics in a blog set up as a Github repository.
Community comments
A few links
by Reg Braithwaite,
Re: A few links
by Stefan Tilkov,
Re: A few links
by Debasish Ghosh,
nice work reg
by tim b,
A few links
by Reg Braithwaite,
Your message is awaiting moderation. Thank you for participating in the discussion.
The slides: on github and on flickr.
, or:And the gem: rewrite.rubyforge.org
Re: A few links
by Stefan Tilkov,
Your message is awaiting moderation. Thank you for participating in the discussion.
Really, really cool stuff.
nice work reg
by tim b,
Your message is awaiting moderation. Thank you for participating in the discussion.
this talk makes me want to write ruby code again
Re: A few links
by Debasish Ghosh,
Your message is awaiting moderation. Thank you for participating in the discussion.
Thanks for Rewrite .. this will change the way people think in Ruby ..