27Oct00
Procedural Macros for Java
Bachrach and Playford
Parsing Function Call Macros
•Start is function name
•End is last matching argument parenthesis
•Example
–#{ f(assert(x < 0, “bad ” + x), g(y)) }
–assert’s Macro arguments would be:
–#{ assert(x < 0, “bad ” + x) }