RubyMacros is a lisp-like macro pre-processor for Ruby. More than just a purely textual substitution scheme, RubyMacros can manipulate and morph Ruby parse trees (in the form of RedParse Nodes) at parse time in just about any way you see fit.
This could be ultra-convenient, and allow macros to modify stuff outside of the arguments passed to them. But it's tricky. All the implications make my head hurt.
This could be ultra-convenient, and allow macros to modify stuff outside of the arguments passed to them. But it's tricky. All the implications make my head hurt.