This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: OOPS! I released again!
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
ParseTree is a C extension (using RubyInline) that extracts the parse
tree for an entire class or a specific method and returns it as a
s-expression (aka sexp) using ruby's arrays, strings, symbols, and
integers.
ruby2ruby provides a means of generating pure ruby code easily from
ParseTree's Sexps. This makes making dynamic language processors much
easier in ruby than ever before.
Changes:
4 minor enhancements:
Added some extra rewriting code and tests for various bmethods.
Ugh.
Added support for splatted block args.
Refactored class/module and dsym/dstr.
Short if/unless statements are now post-conditional expressions.
This one is huge. Heckle is turning into the test tool I always wanted for ruby.
Heckle is a mutation tester. It modifies your code and runs your
tests to make sure they fail. The idea is that if code can be changed
and your tests don't notice, either that code isn't being covered or
it doesn't do anything.
2 major enhancements:
Timeout for tests set dynamically and overridable with -T
Class method support with "self.method_name"
3 minor enhancements:
-b allows heckling of branches only
Restructured class heirarchy and got rid of Base and others.