2 ms·
"a much more serious problem is the lack of interest in AST manipulation/syntactic meta-programming in Ruby culture." On what do you base this? Pretty much ev
by jamesbritt 18y ago
"a much more serious problem is the lack of interest in AST manipulation/syntactic meta-programming in Ruby culture."
On what do you base this? Pretty much every Rubyists I have more than a passing acquaintance with would like to see more options for reaching into the AST. Quite a few would prefer to see keywords replaced with methods (headius likely disagrees because of what that means for JRuby)
I'd be surprised if the Rubyists you associate with didn't also feel the same way.
Now, matz is not so fond of this, but I'm bet a good number of hard-core Ruby hackers are. Or is there more conservatism than meets the eye?
- raganwald 18y agoI have observed the most interest in code analysis tools, which obviously require constructing and analyzing an AST even if you don't manipulate it. Heckle obviously manipulated things. And I recall another syntactic meta-programming project, I think it used its own lisp-like sexprs. But perhaps I am ignorant of a lot of progress in this area. Which other projects/gems/plugins have you seen?
- jamesbritt 18y ago"Which other projects/gems/plugins have you seen?" Ah, well there's the catch. I've seen interest and enthusiasm, but so far little code to implement things. Basically, people who would love to see Ruby have more Lisp-like powers, but not inclined to go hacking on it and making it happen.