- Viewed 105k times143edited Dec 12, 2019 at 18:59
Metaprogramming refers to a variety of ways a program has knowledge of itself or can manipulate itself.
In languages like C#, reflection is a form of metaprogramming since the program can examine information about itself. For example returning a list of all the properties of an object.
In languages like ActionScript, you can evaluate functions at runtime to create new programs such as eval("x" + i). DoSomething() would affect an object called x1 when i is 1 and x2 when i is 2.
Finally, another common form of metaprogramming is when the program can...
Content Under CC-BY-SA license - See moreSee all on Wikipedia
Metaprogramming - Wikipedia
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. In some cases, this allows programmers to … See more
Metaprogramming enables developers to write programs and develop code that falls under the generic programming paradigm. Having the programming language itself as a See more
Code generation
A simple example of a metaprogram is this POSIX Shell script, which is an example of generative programming See moreMacro systems
• Common Lisp and most Lisp dialects.
• Scheme hygienic macros
• MacroML See more1970s and 1980sMetaprogramming was popular using list processing languages such as LISP.1980sLISP hardware machines were popular and used for artificial intelligence applications.2019-10-16The article "Metaprogramming" was created on Wikipedia.2021-08-17The article "Metaprogramming" was last edited on Wikipedia.Some argue that there is a sharp learning curve to make complete use of metaprogramming features. Since metaprogramming … See more
The list of notable metaprogramming systems is maintained at List of Program Transformation Systems. See more
• c2.com Wiki: Metaprogramming article
• Meta Programming on the Program Transformation Wiki See moreWikipedia text under CC-BY-SA license What exactly is metaprogramming? - Stack Overflow
Searches you might like
Meta programming - JavaScript | MDN - MDN Web Docs
c++ - What is metaprogramming? - Stack Overflow
Metaprogramming - Devopedia
Metaprogramming Unveiled: An Introductory Guide with Examples
What is Metaprogramming in JavaScript? In English, …
WebNov 3, 2020 · Metaprogramming is a programming technique that allows you to write code that can generate, modify, or analyze other programs in JavaScript. Learn how to use the Reflect and Proxy objects from ES6 …
Code Writing Code: An Intro to Metaprogramming
WebLearn what metaprogramming is, how it works, and why it matters. Explore examples of metaprogramming in Julia, Rust, and other languages, and discover the history, forms, and future of this fascinating technique.
A Practical Guide to Metaprogramming in Python
metaprogramming - Loyola Marymount University