coatl / rubymacros

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.
http://rubyforge.org/projects/rubymacros
GNU Lesser General Public License v2.1
61 stars 2 forks source link

need ^& operator #3

Open coatl opened 14 years ago

coatl commented 14 years ago

kinda like ^*, turns a node into a block for the method call ^& is used inside of. ^&yield should be supported.

ideally, ^&some_Proc should work as well, but that may be hard.