Search code examples
programming-languagesnomenclature

Name of class of programming languages that execute its own code


What do you call a programming language that can execute its own code (passed as a string literal)? The setting in my mind is something similar to this (forgetting for a moment typing of code, results, etc):

string eight = "5+3"
int result = run(eight)

Where run is keyword. Is that a reflective programming language?


Solution

  • I think you're talking about Meta-circular evaluators. Your run command is the eval in the eval-apply cycle, described in Structure and Implementation of Computer Programs.