Skip to content
ReePrime
Trending searches:
⚡ Guide: If video buffers, tap Framed on the right to switch player mode • Direct stream enables HD quality selection ⚡ Guide: If video buffers, tap Framed on the right to switch player mode • Direct stream enables HD quality selection
Loading formats...

Eval

F
foranything

1 views • Aug 26, 2007

Wikipedia

In some programming languages, eval, short for evaluate, is a function which evaluates a string as though it were an expression in the language, and returns a result; in others, it executes multiple lines of code as though they had been included instead of the line including the eval. The input to eval is not necessarily a string; it may be structured representation of code, such as an abstract syntax tree, or of special type such as code. The analog for a statement is exec, which executes a string as if it were a statement; in some languages, such as Python, both are present, while in other languages only one of either eval or exec is.

Full article

Description

Discover more

Keywords & tags