Wrapped_intf.WrappedParse and typecheck a given source code
val execute :
toplevel ->
?ppf_code:output ->
?print_outcome:bool ->
ppf_answer:output ->
string ->
bool resultExecute a given source code. The evaluation stops after the first toplevel phrase (as terminated by ";;") that fails to compile or for which the evaluation raises an uncaught exception.
val use :
toplevel ->
?filename:string ->
?print_outcome:bool ->
ppf_answer:output ->
string ->
bool resultExecute a given source code. Unlike execute, the whole buffer is parsed up front (using Toploop.parse_use_file); each resulting phrase is then typechecked and evaluated in sequence. Parse errors abort before any phrase runs.