Evaluate the given OCaml code and return its output.
See examples in
in-xml-block is true, the given id is given to
the root XML element of the result.
false
false will result
is having the error message in the result of the rule. This is useful
to provide examples of errors in a documentation.
false to prevent adding such classes.
highlight-locs is true, then default
value of print-locs is false, else it
is true.
directory option. This allows to evaluate OCaml
code in different contexts, to prevent poluting a session's environment.
false not to have the original code in the result of
the rule.
true if the toplevel option is
true, else false.
Set to false not to have the output of the code
in the result of the rule. Note that stderr is only kept in case
of error in toplevel mode.
true to enable toplevel-like output for the rule.
This includes a prompt before the code and the result of evaluation
(types, values, ...).