Global Information Lookup Global Information

Metaprogramming information


Metaprogramming is a programming technique in which computer programs have the ability to treat other programs as their data. It means that a program can be designed to read, generate, analyse or transform other programs, and even modify itself while running.[1][2] In some cases, this allows programmers to minimize the number of lines of code to express a solution, in turn reducing development time.[3] It also allows programs a greater flexibility to efficiently handle new situations without recompilation.

Metaprogramming can be used to move computations from run-time to compile-time, to generate code using compile time computations, and to enable self-modifying code. The ability of a programming language to be its own metalanguage is called reflection.[4] Reflection is a valuable language feature to facilitate metaprogramming.

Metaprogramming was popular in the 1970s and 1980s using list processing languages such as LISP. LISP hardware machines were popular in the 1980s and enabled applications that could process code. They were frequently used for artificial intelligence applications.

  1. ^ Harald Sondergaard. "Course on Program Analysis and Transformation". Retrieved 18 September 2014.
  2. ^ Czarnecki, Krzysztof; Eisenecker, Ulrich W. (2000). Generative Programming. ISBN 0-201-30977-7.
  3. ^ Walker, Max. "The Art of Metaprogrmming in Java". New Circle. Retrieved 28 January 2014.
  4. ^ Krauss, Aaron. "Programming Concepts: Type Introspection and Reflection". The Societa. Retrieved 14 September 2014.

and 12 Related for: Metaprogramming information

Request time (Page generated in 0.56 seconds.)

Metaprogramming

Last Update:

reflection. Reflection is a valuable language feature to facilitate metaprogramming. Metaprogramming was popular in the 1970s and 1980s using list processing languages...

Word Count : 1432

Template metaprogramming

Last Update:

Template metaprogramming (TMP) is a metaprogramming technique in which templates are used by a compiler to generate temporary source code, which is merged...

Word Count : 3113

Template

Last Update:

layout and styles used to configure word processing software Template metaprogramming, a programming technique used by a compiler to generate temporary source...

Word Count : 329

List of programming languages by type

Last Update:

(class-based), metaprogramming) Curry (concurrent, functional, logic) D (generic, imperative, functional, object-oriented (class-based), metaprogramming) Dart...

Word Count : 7022

Assembly language

Last Update:

MC6800 and the assembled form Paradigm Imperative, unstructured, often metaprogramming (through macros), certain assemblers are structured or object-oriented...

Word Count : 9867

SH

Last Update:

country code top-level domain (ccTLD) of Saint Helena Lib Sh, a graphics metaprogramming library for C++ Unix shell, a general command-line shell for Unix Bourne...

Word Count : 294

Programming and Metaprogramming in the Human Biocomputer

Last Update:

Programming and Metaprogramming in the Human Biocomputer: Theory and Experiments is a 1968 book by John C. Lilly. In the book, "the doctor imagines the...

Word Count : 544

Charles Simonyi

Last Update:

concept of metaprogramming at Microsoft, turning it into what people sometimes referred to as a software factory, but the metaprogramming concept "did...

Word Count : 3211

Metalanguage

Last Update:

The act of working with metalanguages in programming is known as metaprogramming. Backus–Naur form, developed in the 1960s by John Backus and Peter...

Word Count : 1291

Programming language theory

Last Update:

of programming languages are often known as programming paradigms. Metaprogramming is the generation of higher-order programs which, when executed, produce...

Word Count : 1616

Expression templates

Last Update:

Expression templates are a C++ template metaprogramming technique that builds structures representing a computation at compile time, where expressions...

Word Count : 1428

The Center of the Cyclone

Last Update:

flotation tanks and isolation. It also examines Lilly's notion of self-metaprogramming as a means to shape and direct certain experiences and gain autonomy...

Word Count : 318

PDF Search Engine © AllGlobal.net