AST is a small Ruby library for working with immutable abstract syntax trees. WWW: https://github.com/whitequark/ast