There are three types of comments in STKLOS:
#'' and ends with ``#
".
#!
". Such a comment
extends to the end of the line which introduces it. This extension is
particularly useful for building STKLOS scripts. On most Unix
implementations, if the first line of a script looks like this:
#!/usr/local/bin/stklos -filethen the script can be started directly as if it was a binary program. STKLOS is loaded behind the scene and reads and executes the script as a Scheme program. Note that, as a special case, the sequences
#!key
, #!optional
and #!rest
are
respectively converted to the STKLOS keywords :key
,
:optional
. This permits to Scheme lambdas, which accepts
keywords and optional arguments, to be compatible with DSSSL lambdas
[DSSSL-96].