Nemerle has syntactic macros that look exactly like that.

http://nemerle.org/

http://nemerle.org/Macros