Syntactic closure
Encyclopedia
In computer science
Computer science
Computer science or computing science is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems...

, syntactic closures are an implementation strategy for a hygienic macro
Hygienic macro
Hygienic macros are macros whose expansion is guaranteed not to cause collisions with existing symbol definitions. They are a feature of programming languages such as Scheme and Dylan.-The hygiene problem:...

system. The actual arguments to a macro call are closed in the current environment, such that they cannot inadvertently reference bindings introduced by the macro itself.

External links

  • [ftp://ftp.cs.utexas.edu/pub/garbage/carl-msthesis.ps Syntactic exposures - A Lexically-Scoped Macro Facility for Extensible Compilers]
  • syntactic closures at Schemewiki
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK