The function example-compile-file
constructs the path to file in the examples
folder of the LispWorks library, and a path to an output file in a temporary location which is likely to be writable.
It then calls compile-file with these paths as the input-file and output-file, also passing the other args, and returns the values returned by compile-file.
LispWorks User Guide and Reference Manual - 20 Sep 2017