Jump to content

Syntactic closure

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Jno.skinner (talk | contribs) at 01:50, 25 February 2021 (footnote). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

[edit]
  1. ^ Hanson, Chris (November 9, 1991). "A Syntactic Closures Macro Facility". CSAIL. MIT. Retrieved February 24, 2021.
[edit]