eval
Eval (verb) means to run a piece of program code that is stored as a text string, rather than as compiled instructions. Example: “The script uses eval to run whatever formula the user types in.”
How to use eval
Learner’s notesIn plain EnglishIn programming, a command that takes text and runs it as if it were code. Informally, also used as shorthand for "evaluation".
Using eval on untrusted input (like text typed by a website visitor) is a well-known security risk, since it can run malicious code.
Word forms
evaled past tense, evalled past tense, evals singular
Fill the gap
Can you complete this real example?
The script uses _____ to run whatever formula the user types in.
Etymology
A shortening of "evaluate", used as both a programming keyword and informal shorthand for an evaluation or assessment.
Rhymes for eval
See all rhymes for eval →Frequently asked questions
What does “eval” mean?
The word “eval” means to run a piece of program code that is stored as a text string, rather than as compiled instructions. In plain terms, in programming, a command that takes text and runs it as if it were code. Informally, also used as shorthand for "evaluation".
How do you pronounce “eval”?
“Eval” is pronounced EE-val (/ˈiː.væl/ in IPA).
How do you use “eval” in a sentence?
Here is “eval” used in a sentence: “The script uses eval to run whatever formula the user types in.”
What part of speech is “eval”?
“Eval” is a verb.