Compiles a file in the examples folder to a temporary output file.
lispworks
example-compile-file file &rest args => output-truename, warnings-p, failure-p
| file⇩ |
A pathname designator. |
| args⇩ |
Arguments passed to compile-file. |
| output-truename |
A pathname or nil. |
| warnings-p |
A generalized boolean. |
| failure-p |
A generalized boolean. |
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 - 01 Dec 2021 19:30:41