5 ms·
That's kind of funny, I actually just finished building a tool that lets you perform queries against the ruby AST. You can pattern match and process S-Expressio
by netghost 17y ago
That's kind of funny, I actually just finished building a tool that lets you perform queries against the ruby AST. You can pattern match and process S-Expressions. It still needs a bit of polish, but it's pretty neat.
Check it out, SexpPath:
https://github.com/adamsanderson/sexp_path/tree https://github.com/adamsanderson/sexp_path/tree
- zenspider 17y agoHOLY SHIT! YAY! I knew if I just waited long enough someone would finish this off for me! Wonderful! What do you think about folding this into sexp_processor? I should prolly actually ask this on github. I only read ycombinator for the enterprise post. :)
- netghost 17y agoSend me an email or drop me a line on github.
- daeken 17y agoBeautiful, I think you've just made my life a whole lot easier. I've been building a Ruby->Python compiler, Prooby ( http://github.com/daeken/Prooby/tree/master http://github.com/daeken/Prooby/tree/master ), and that should make a lot of my code simpler.
- netghost 17y agoAwesome, I'd love to see if it helps you out.