eval wikipedia - EAS
- See moreSee all on Wikipedia
In some programming languages, eval , short for the English 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
...
See moreUsing eval with data from an untrusted source may introduce security vulnerabilities. For instance, assuming that the get_data() function gets data from the Internet, this Python code is insecure:
An attacker...
See moreIn interpreted languages, eval is almost always implemented with the same interpreter as normal code. In compiled languages,
...
See moreECMAScript
JavaScript
In JavaScript, eval is something of a hybrid between an expression evaluator and a statement executor. It returns the result of the last expression evaluated.
Example as an expression...
See moreUnix shells
The eval command is present in all Unix shells, including the original "sh" (Bourne shell). It concatenates all the arguments with spaces, then re...
See moreIn 1966 IBM Conversational Programming System (CPS) introduced a microprogrammed function EVAL to perform "interpretive
...
See moreIn theoretical computer science, a careful distinction is commonly made between eval and apply. Eval is understood to be the step of converting a
...
See moreWikipedia text under CC-BY-SA license eval(イーバル)はいくつかのプログラミング言語が持つ、文字列を式として評価(evaluate)する関数、または複数の文をプログラム中のあるコンテキストで実行するサブルーチンである。
evalの類の機能はコンパイラ言語よりもインタプリタ言語でより一般的である。なぜならコンパイラ言語でこのような機能を実現するには、プログラム自体に言語処理系や(変数名などの)実行時情報を埋め込む必要があるからである。evalに近い機能を実現しているコンパイラ言語 …Wikipedia · Text under CC-BY-SA license- People also ask
Related searches for eval wikipedia