Misplaced Pages

Syntactic closure

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

In computer 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

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

External links


Stub icon

This computer-programming-related article is a stub. You can help Misplaced Pages by expanding it.

Γ {\displaystyle \Gamma \!\vdash }

This programming language theory or type theory-related article is a stub. You can help Misplaced Pages by expanding it.

Categories:
Syntactic closure Add topic