R7RS library system

On Sagittarius, user can call R7RS libraries on R6RS script and also other way around. However syntaxes are different. User can choose which syntax use.

Syntax define-library name clauses

[R7RS]name must be a list which can only contains symbol or exact integer.

clauses may be one of these:

export and import are the same as R6RS. And on R7RS renaming export syntax is different from R6RS, however on Sagittarius both can be accepted.

begin starts the library contents. However it can appear more than once.

include and include-ci includes the files which are specified filenames. filenames must be string. This resolves file path from current loading file. If the library file is /usr/local/lib/lib1.scm, then search path will be /usr/local/lib. It can also take absolute path. include-ci reads the file case insensitive.

cond-exnpand is the same as builtin syntax cond-expand. For more detail, see Builtin Syntax.