Is it possible to define anaphoric macros using syntax-rules only?

77 Views Asked by At

Is possible to write anaphoric macros (e.g. aif) using syntax-rules only? Such a macro would need to break the hygiene of the macro system. I know that this is possible with syntax-case, but is it somehow possible with syntax-rules in R5RS and R7RS-small? If so, could you supply a minimal example that implements "anaphoric if" (aif) using syntax-rules only?

0

There are 0 best solutions below