Talk:Runtime evaluation/In an environment

From Rosetta Code
Revision as of 00:14, 30 April 2009 by rosettacode>ShinTakezou (→‎Why marked as incorrect?: added some ?? to stress that they are not final sentences, but "doubts"; it is enough to "embed everything" into a func then??)

Why marked as incorrect?

This task needs to be clarified. The first part says something, that seems almost clear and generic. The points make it obscure, or better, they make the task redundant, since we are in the domain of first-class function, lambda calculus, or block closures; all treated already elsewhere (and the name "eval in environment" seems misleading). It is also unclear why Perl is not marked, while PHP is... they seem the same (and also Tcl).

  • it means it must look like code, not inside a string...: block closure (à-la Smalltalk), or just "lambda" calculus if you prefer the name. (Python contains a string, so it is wrong too) ??
  • x must be a dummy name... again: block closure or similar ??
  • "x" (dummy var) is local (inside the "block"); of course... ??

What about? --ShinTakezou 00:06, 30 April 2009 (UTC)