Syntactic closure

Syntactic closure

In computer science, syntactic closures are an implementation strategy for a hygienic macro 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.

ee also

*syntax-rules
*syntax-case

External links

* [ftp://ftp.cs.utexas.edu/pub/garbage/carl-msthesis.ps Syntactic exposures - A Lexically-Scoped Macro Facility for Extensible Compilers]
* [http://community.schemewiki.org/?syntactic-closures syntactic closures at Schemewiki]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Closure (computer science) — In computer science, a closure (also lexical closure, function closure, function value or functional value) is a function together with a referencing environment for the non local variables of that function.[1] A closure allows a function to… …   Wikipedia

  • Syntactic methods — In software engineering, syntactic methods are techniques for developing correct software programs. The techniques attempt to detect, and thus prevent, certain kinds of defects (bugs) by examining the structure of the code being produced at its… …   Wikipedia

  • Syntactic predicate — A syntactic predicate specifies the syntactic validity of applying a production in a formal grammar and is analogous to a semantic predicate that specifies the semantic validity of applying a production. It is a simple and effective means of… …   Wikipedia

  • 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. Contents 1 The hygiene problem 2 Strategies 3 Hygienic macro… …   Wikipedia

  • RSC — The Royal Shakespeare Company (Community » Performing Arts) *** Roll Stability Control (Governmental » NASA) ** Republican Study Committee (Governmental » Politics) ** Regional Support Centre (Computing » General) * Revised Statutes of Canada… …   Abbreviations dictionary

  • C Sharp syntax — The correct title of this article is C# syntax. The substitution or omission of the # sign is because of technical restrictions. Main article: C Sharp (programming language) This article describes the syntax of the C# programming language. The… …   Wikipedia

  • Focus (linguistics) — Focus is a concept in linguistic theory that deals with how information in one phrase relates to information that has come before. Focus has been analyzed in a variety of ways by linguists. Historically, there have been two main approaches to… …   Wikipedia

  • Aikido (programming language) — infobox programming language name = Aikido paradigm = object oriented, multithreading, scripting language, imperative year = 2003 designer = David Allison, Sun Microsystems latest release version = latest release date = typing = Partially dynamic …   Wikipedia

  • Comparison of C Sharp and Java — The correct title of this article is Comparison of C# and Java. The substitution or omission of the # sign is because of technical restrictions. Programming language comparisons General comparison Basic syntax Basic instructions …   Wikipedia

  • Sentence Comprehension — Human language comprehension takes place whenever a reader or listener processes a language utterance, either in isolation or in the context of a conversation or a text. Many studies of the human language comprehension process have focused on… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”