6 Evaluation and Running Modules
The racket_apply
function provides basic evaluation support,
but racket_eval, racket_dynamic_require, and
racket_namespace_require provide higher-level support for the
most common evaluation tasks.
Evaluates
s_expr in the initial Racket thread using its current
namespace, the same as calling
eval. The
s_expr can be an S-expression constructed
with pairs, symbols, etc., or it can be a
syntax object.
Use racket_namespace_require to initialize a namespace, or use
racket_dynamic_require to access functionality without going
through a top-level namespace. Although those functions are the same
as using namespace-require and dynamic-require, they
work without having those identifiers bound in a namespace already.