Talk:Evaluation function
From Wikipedia, the free encyclopedia
[edit] Eval
Shouldn't this page also mention something about an evaluation function as in a function that takes a datastructure representing code, evaluates the code, and returns its result? Like the eval function in standard PHP. Wouter Lievens 14:34, 19 May 2006 (UTC)
- Reasonable point. Many languages have such an eval function. Python, Java, etc. That concept is very common in the functional programming paradigm, going back decades to the earliest Lisp dialect, or earlier. In such languages, a program is not really "executed" per se — the programmer codes up a big nested structure of functions and data and then evaluates it, which returns a result.
- This is a different concept than what the current article is about, so if you want to start another article, there's no harm in trying. You could add a disambig line at the start of this article. But I'm not really sure if the concept you're talking about warrants an entire article, or even what you'd call it. --Ds13 19:22, 19 May 2006 (UTC)
- There's the eval article. I now added the following to the top of the article.
-
-
For the string evaluation function, see eval.
-
- --Amit 07:45, 12 October 2007 (UTC)

