drscheme:eval:expand-program/multiple in DrScheme Tools Functions
(drscheme:eval:expand-program/multiple -> ((union port? drscheme:language:text/pos?) ((union eof-object? syntax? (cons/p string? any?)) (-> any) . -> . any) boolean? . -> . void?)
language-settings eval-compile-time-part? init kill-termination)
language-settings : drscheme:language-configuration:language-settings?
eval-compile-time-part? : boolean?
init : (-> void?)
kill-termination : (-> void?)
This function is just like
drscheme:eval:expand-program except that it is curried and the second application
can be used multiple times.
Use this function if you want to initialize the user's
thread (and namespace, etc) once but have program text
that comes from multiple sources.
The extra boolean argument to the result function
determines if
front-end/complete-program or
front-end/interaction is called.