Runtime evaluation

From Rosetta Code
Revision as of 03:02, 17 February 2009 by rosettacode>Kevin Reid (new task for all-about-eval (sorry, don't have time to write any examples yet))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Task
Runtime evaluation
You are encouraged to solve this task according to the task description, using any language you may know.

Demonstrate your language's ability for programs to execute other programs in the language provided at runtime. Show us how you get values in and out (e.g. environments, arguments, return values), and what facilities for restricting (e.g. sandboxes, resource limits) or specializing (e.g. debugging facilities) the execution.

You may not invoke a separate evaluator program, or invoke a compiler and then its output, unless the interface of that program, and the syntax and means of executing it, are considered part of your language/library/platform.

For a more restricted task, see Eval in environment.