Syntax translation with context macros or macros without arguments
Charles A. Grant · ACM SIGPLAN Notices · 1971
A conceptually language independent macro facility with the following properties is described here: 1)Each macro gathers its own arguments from the text in which the call is embedded (the context). 2) A macro may modify its context an arbitrary distance from the actual string which represents the call. 3) A macro may specify the precise point from which scanning is to continue after the macro returns. The objective of this work is to define a simple user facility for conveniently and powerfully modifying the syntax of programming languages.