#
Chapter 7
`info.ss` File Format

An `info.ss` file provides general information about a collection. The file must have the following format:

    (module info (lib "infotab.ss" "setup")
       (define identifier info-expr)
       ···)

    info-expr is one of
      (quote datum)
      (quasiquote datum) ; with unquote and unquote-splicing
      (info-primitive info-expr ···)
      identifier ; an identifier defined in the info module
      literal ; a string, number, boolean, etc.
      (string-constant identifier) ; a string constant defined in
                                     ; the string-constants collection

    info-primitive is one of
      cons car cdr list
      list* reverse append
      build-path collection-path
      system-library-subpath

For example, the following declaration is in the `info.ss` library of the `help` collection. It contains definitions for three info tags:

    (module info (lib "infotab.ss" "setup")
      (define name "Help")
      (define mred-launcher-libraries (list "help.ss"))
      (define mred-launcher-names (list "Help Desk")))

The `setup` collection's `getinfo.ss` library defines a `get-info` function for extracting field values from a collection's `info.ss` file. See the `setup` collection's documentation for details.