Global Information Lookup Global Information

Hygienic macro information


In computer science, hygienic macros are macros whose expansion is guaranteed not to cause the accidental capture of identifiers. They are a feature of programming languages such as Scheme,[1] Dylan,[2] Rust, Nim, and Julia. The general problem of accidental capture was well known in the Lisp community before the introduction of hygienic macros. Macro writers would use language features that would generate unique identifiers (e.g., gensym) or use obfuscated identifiers to avoid the problem. Hygienic macros are a programmatic solution to the capture problem that is integrated into the macro expander. The term "hygiene" was coined in Kohlbecker et al.'s 1986 paper that introduced hygienic macro expansion, inspired by terminology used in mathematics.[3]

  1. ^ Cite error: The named reference r5rs was invoked but never defined (see the help page).
  2. ^ Feinberg, N.; Keene, S. E.; Matthews, R. O.; Withington, P. T. (1997), Dylan programming: an object-oriented and dynamic language, Addison Wesley Longman Publishing Co., Inc.
  3. ^ Kohlbecker, E.; Friedman, D. P.; Felleisen, M.; Duba, B. (1986). "Hygienic Macro Expansion" (PDF). ACM conference on LISP and functional programming.

and 20 Related for: Hygienic macro information

Request time (Page generated in 0.7963 seconds.)

Hygienic macro

Last Update:

In computer science, hygienic macros are macros whose expansion is guaranteed not to cause the accidental capture of identifiers. They are a feature of...

Word Count : 2417

Anaphoric macro

Last Update:

(alambda (n) (if (= n 0) 1 (* n (self (1- n))))) Anonymous recursion Hygienic macros Macro (computer science) Method chaining this (computer programming) Chapter...

Word Count : 393

Metaprogramming

Last Update:

most Lisp dialects. Scheme hygienic macros MacroML Racket (programming language) Template Haskell Scala macros Clojure macros Nim Rust Haxe Julia Elixir...

Word Count : 1432

Syntactic closure

Last Update:

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...

Word Count : 88

Extensible programming

Last Update:

abstraction movement by the late 1980s (perhaps due to the advent of hygienic macros), by being granted the pseudonym syntactic abstractions. In the modern...

Word Count : 1718

Evaluation strategy

Last Update:

result in variable capture, leading to mistakes and undesired behavior. Hygienic macros avoid this problem by checking for and replacing shadowed variables...

Word Count : 5172

GNU Guile

Last Update:

code than would be possible in languages such as C. For example, its hygienic macro system allows adding domain specific syntax-elements without modifying...

Word Count : 1978

List of programming languages by type

Last Update:

piece of text that expands into a longer one (not to be confused with hygienic macros), possibly with parameter substitution. They are often used to preprocess...

Word Count : 7090

SISC

Last Update:

an R5RS Scheme implementation, which includes a full number tower, hygienic macros, proper tail recursion, and first class continuations. SISC is short...

Word Count : 267

MLisp

Last Update:

compilation extensibility with a syntax description language (see hygienic macros) pattern matching backtracking by the use of closures on a stack and...

Word Count : 395

Common Lisp

Last Update:

This type of macro system is sometimes called "hygienic", in particular by its proponents (who regard macro systems which do not automatically solve this...

Word Count : 11978

Malavika Avinash

Last Update:

sanitary pads in India since it was rejected by developed countries, Cloth is hygienic in contrast to sanitary pads. The defense of Malavika on the decision of...

Word Count : 1223

Watch 1505

Last Update:

engineering and the Oriental form. Pomanders were worn due to the poor hygienic conditions in the cities. The musk-perfume inside the pomander had a disinfectant...

Word Count : 3824

Ancient Rome

Last Update:

famous for their public baths, called thermae, which were used for both hygienic and social purposes. Many Roman houses had flush toilets and indoor plumbing...

Word Count : 20947

Stunted growth

Last Update:

better nutrition but also access to clean water, improved sanitation (hygienic toilets) and hand washing at critical times (summarised as "WASH"). Without...

Word Count : 8459

Poverty in Kenya

Last Update:

damage Kenya's agricultural economy, cause famine and result in even worse hygienic conditions. Kenya is classified as a water limited country. According to...

Word Count : 2753

2010 Commonwealth Games Village

Last Update:

per National Building Code 2005. These include provision of clean and hygienic accommodation, toilet facilities, purified drinking water, general store...

Word Count : 1264

Roman Empire

Last Update:

France, and northern Africa.[citation needed] The public baths served hygienic, social and cultural functions. Bathing was the focus of daily socializing...

Word Count : 27984

Jean Baechler

Last Update:

human groups. Among these orders, Baechler counts the demographic, the hygienic, the economic, the technical, the political, the pedagogical, the ludic...

Word Count : 3079

Islamic economics

Last Update:

individual lives (Micro), in our communities (Meso), and at the level of Ummah (Macro)." Fiqh (religious law) has developed several traditional concepts having...

Word Count : 11514

PDF Search Engine © AllGlobal.net