Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseTree doesn't work with ruby 1.9.2 #1

Open
mlanett opened this issue Jan 8, 2011 · 1 comment
Open

ParseTree doesn't work with ruby 1.9.2 #1

mlanett opened this issue Jan 8, 2011 · 1 comment

Comments

@mlanett
Copy link

mlanett commented Jan 8, 2011

ParseTree doesn't work with ruby 1.9.2
but nitpick uses ParseTree.

@kevinclark
Copy link
Owner

This is true! I'd toyed with an early implementation using Ruby Parser, but it limited the scan to files passed to the executable (it couldn't follow libraries). It probably wouldn't be tough to put back in. Instead of handling discovery through method_added, you could pass classes/methods/files in to the command line (like we did with Heckle) and you could run scans there. I don't think any of the scanning code would actually need to change - probably just what's in bin/. Maaaaybe tweaks to AST handling if Ruby 1.9 changes the nodes format, but I thought it was close. Want to give it a shot? I'm happy to assist, but don't really have time to hack on it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants