BT

Presentation: Ruby.rewrite(Ruby)

by Werner Schuster on Dec 10, 2008 |

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.

Watch "Reginald Braithwaite on Ruby.rewrite(Ruby)".

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

A few links by Reg Braithwaite

The slides: on github and on flickr.

And the gem: rewrite.rubyforge.org

sudo gem install rewrite
, or:

Re: A few links by Stefan Tilkov

Really, really cool stuff.

nice work reg by tim b

this talk makes me want to write ruby code again

Re: A few links by Debasish Ghosh

Thanks for Rewrite .. this will change the way people think in Ruby ..

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

4 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT