Generated: January 16, 2003, 23:30:21Copyright ©2003, Kurt NørmarkThe local LAML software home page

Reference Manual of the MzScheme compatibility library

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

Master index
Source file: lib/compatibility/windows_nt40_mzscheme.scm
LAML Version 19.00 (January 16, 2003, full)

MzScheme 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 MzScheme. These are file-exists?, delete-file, copy-file, and directory-exists?

Similar compatibility files exist for other Scheme systems, see the directory lib/compatibility/.

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

Alphabetic index:
current-time(current-time)Return the current time in seconds
fake-startup-parameters(fake-startup-parameters source-file startup-dir [program-parameter-list])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)Mail sending support: Send an email to a receiver.
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 using the comparison predicate

 

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


current-time


Form
(current-time)

Description
Return the current time in seconds


sort-list


Form
(sort-list list com)

Description
Sort list using the comparison predicate


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.


mail


Form
(mail receiver title contents)

Description
Mail sending support: Send an email to a receiver. Not implemented on mzscheme on the PC platform.


 

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 four or #f if no command line activation exists. The first element must be the symbol laml (a tag). Element number two must be the laml source file name (without extension and initial path). Element number three must be a slash terminated, full directory path (with forward slashes), in which the source file resides. Element number four must be a list of program parameters. This function must be redefined in Scheme-system/OS/platform dependent compatibility file.


fake-startup-parameters


Form
(fake-startup-parameters source-file startup-dir [program-parameter-list])

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). Source-file must be a file name without initial path and without extension. start-dir must be an absolute path to a directory ending in a slash /. This function is useful for programmatic startup of LAML. This function must be redefined in scheme-system dependent compatibility file


Generated: January 16, 2003, 23:30:21
This documentation has been extracted automatically from the Scheme source file by means of the Schemedoc tool