Code as data
In computer science, the expressions code as data and data as code may refer to:
- Configuration scripts, declarative programming, domain-specific languages and markup languages, where program execution is controlled by data elements that are not sequences of commands.
- First-class functions, functions that can be accessed as entities in the language.
- Homoiconicity, a property of languages like LISP where the code has the same structure as the data.
- Reflection and metaprogramming, the capability of a language to modify the structure and behavior of objects in the program at run time.
- Self-modifying code, the capability of a language to alter its own instructions while it is executing.
- Stored program, code in a computer with the Von Neumann architecture that stores programs and data in the same memory device.
This article is issued from Wikipedia - version of the 9/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.