In
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, syntactic closures are an implementation strategy for a
hygienic macro system. The term pertains to the
Scheme programming language.
When a syntactic closure is used the arguments to a
macro call are
enclosed in the current environment, such that they cannot inadvertently reference
bindings introduced by the macro itself.
References
External links
Syntactic exposures - A Lexically-Scoped Macro Facility for Extensible Compilerssyntactic closures at Schemewiki
Implementation of functional programming languages
{{plt-stub