Generated: March 27, 2002, 12:18:24Copyright ©2002, Kurt NørmarkThe local LAML software home page

Reference Manual of the SCM compatibility library

Kurt Nørmark ©    normark@cs.auc.dk    Department of Computer Science    Aalborg University    Denmark    

Master index
Source file: lib/compatibility/unix_solaris-6_scm.scm
LAML Version 17.00 (March 27, 2002) full

SCM specific stuff to be loaded for compatibility. This file implements each of the necessary non-R4RS functions mentioned in the root documentation of the LAML system. Notice that some of the non-standard Scheme functions used in LAML already happens to exist in SCM. These are file-exists?, delete-file, and current-time.

Table of Contents:
1. Definition of non-R4RS Scheme functions.2. LAML specific, context definition functions.

Alphabetic index:
copy-file(copy-file source destination)Use copy-text-file for copy-file.
directory-exists?directory-exists?Returns whether a directory exist.
directory-list(directory-list path)Return a directory list of path
fake-startup-parameters(fake-startup-parameters source-file startup-dir)Fake the contextual startup parameters to a specific source file name and a specific startup directory.
laml-canonical-command-line(laml-canonical-command-line)Return the contextual command line information passed to LAML upon activation.
mail(mail receiver title contents . temp-dir)Mail sending support: Send an email to a receiver with title and contents.
make-directory-in-directory(make-directory-in-directory in-directory-path new-dir)Make a new directory, new-dir, in the directory path (first parameter).
sort-list(sort-list list com)Sort list by means of the comparison function com

 

1.   DEFINITION OF NON-R4RS SCHEME FUNCTIONS.
The functions in this section af general purpose functions which happen not to be in the Scheme standard (R4RS).


sort-list



Form
(sort-list list com)

Description
Sort list by means of the comparison function com


directory-exists?



Form
directory-exists?

Description
Returns whether a directory exist. Works both on names without and with trailing slash. An alias of file-exists?


copy-file



Form
(copy-file source destination)

Description
Use copy-text-file for copy-file. This is not a good long term solution


make-directory-in-directory



Form
(make-directory-in-directory in-directory-path new-dir)

Description
Make a new directory, new-dir, in the directory path (first parameter). The parameter in-directory-path ends in a slash. This implementation works only on UNIX systems.


mail



Form
(mail receiver title contents . temp-dir)

Description
Mail sending support: Send an email to a receiver with title and contents. The optional parameter temp-dir gives a temporary directory used for the mail sending; default is "temp/" This implementation works only on UNIX Systems.


directory-list



Form
(directory-list path)

Description
Return a directory list of path


 

2.   LAML SPECIFIC, CONTEXT DEFINITION FUNCTIONS.
The functions in this section return and define the activation context of the LAML processor.


laml-canonical-command-line



Form
(laml-canonical-command-line)

Description
Return the contextual command line information passed to LAML upon activation. Returns a list of lenght three, or #f if no command line activation exists. The first element must be the symbol laml. Element number two must be the laml source file name (witout extension and initial path). Element number three must be a slash terminated directory, in the source file resides. This function must be redefined in scheme-system dependent compatibility file.


fake-startup-parameters



Form
(fake-startup-parameters source-file startup-dir)

Description
Fake the contextual startup parameters to a specific source file name and a specific startup directory. Both of the parameters must be strings, or the boolean value #f (in case the informations are unknown). This function is useful for programmatic startup of LAML. This function must be redefined in scheme-system dependent compatibility file


Generated: March 27, 2002, 12:18:24
This documentation has been extracted automatically from the Scheme source file by means of the Schemedoc tool