6 Evaluation and Running Modules (CS)
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 to initialize a Racket instance.
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.
This function and others in this section are not meant to be called
in C code that was called from Racket. See also Calling Procedures (CS)
for a discussion of entry points versus re-entry points.