Article · Wikipedia archive · Last revised Jun 6, 2026

Syntactic closure

In computer science, syntactic closures are an implementation strategy for a hygienic macro system. The term pertains to the Scheme programming language.

Last revised
Jun 6, 2026
Read time
≈ 1 min
Length
86 w
Citations
1
Source

In computer science, syntactic closures are an implementation strategy for a hygienic macro system. The term pertains to the Scheme programming language.1

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

References

  1. Hanson, Chris (November 9, 1991). "A Syntactic Closures Macro Facility". CSAIL. MIT. Retrieved February 24, 2021.
External links