Syntactic closure

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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 | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
[edit | edit source]