M
Macario Ortega
Hi, I've been missing ParseTree very badly in 1.9.1. So in my naivité I
decided to try to convert YARV iseq's to Sexp's similar of those
produced by ParseTree. So far I can convert simple expressions, method
calls, nested method calls, arrays, hashes, I can extract method
parameter and default values provided the expression is not too
complicated.
At first it seemed easy until I hitted control structures.
Is someone aware of a similar effort?
Does anyone else craves AST manipulation in 1.9.1 as bad as me?
Anyone care to join?
Any sugested reads appart from YARV wiki?
My attempt is hosted at http://github.com/maca/iseq_parser/tree/master
Thanks
Macario
decided to try to convert YARV iseq's to Sexp's similar of those
produced by ParseTree. So far I can convert simple expressions, method
calls, nested method calls, arrays, hashes, I can extract method
parameter and default values provided the expression is not too
complicated.
At first it seemed easy until I hitted control structures.
Is someone aware of a similar effort?
Does anyone else craves AST manipulation in 1.9.1 as bad as me?
Anyone care to join?
Any sugested reads appart from YARV wiki?
My attempt is hosted at http://github.com/maca/iseq_parser/tree/master
Thanks
Macario