Code as data
Appearance
In computer science, the expression code as data may refer to:
- Configuration scripts, declarative programming 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 objects in the language.
- Homoiconicity, a property of languages like LISP where the code has the same structure as the data.
- Reflection, 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.
- Von Neumann architecture, a computer architecture that stores program code and data in the same memory device.