3 ms·
"Nor does Ruby provide a mechanism to turn code into an abstract syntax tree for you as Python and Lisp do" That's not even correct, ruby's standard library co
by djr96 9y ago
"Nor does Ruby provide a mechanism to turn code into an abstract syntax tree for you as Python and Lisp do"
That's not even correct, ruby's standard library contains a Ripper class that does just that:
http://ruby-doc.org/stdlib-2.0.0/libdoc/ripper/rdoc/Ripper.html http://ruby-doc.org/stdlib-2.0.0/libdoc/ripper/rdoc/Ripper.h...