Main Content

Ruby AST Tools

A talk by Brian Landau

About the Talk

March 17, 2009 3:00 PM

Red Hat Headquarters, 1801 Varsity Dr., Raleigh, NC 27606

Red Hat Headquarters, 1801 Varsity Dr., Raleigh, NC 27606

ParseTree allows taking any Ruby code and parsing it into an AST. This allows for two types of tools:

  1. Code analysis
  2. Custom DSL

We'll go through the power of the SexpProcessor class included with ParseTree and how they are made. We'll look at flog, ambition, and roodi and see what they offer us as Ruby developers. Finally, I'll turn our attention to see what the future has to offer with Ruby 1.9.1 and the included Ripper library.

Ratings and Recommendations

Avg. Rating

Average based
on 3 ratings

comments powered by Disqus