Project

refract

0.0
No release in over 3 years
Ruby code rewriter.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

Refract

Refract lets you re-write Ruby at the AST level.

  1. The Converter walks a concrete Prism syntax tree and produces an abstract Refract tree.
  2. The MutationVisitor walks the Refract tree, allowing you to mutate existing nodes and insert new nodes.
  3. Finally, the Formatter walks the Refract tree producing valid Ruby code.