


local                                                      SCI(1)




NAME
     sci - Scheme interpreter

SYNTAX
     sci [ option ]

DESCRIPTION
     The sci command invokes a Scheme interpreter.  The language
     accepted by this interpreter is that defined in the essen-
     tial portions of the _R_e_v_i_s_e_d_3 _R_e_p_o_r_t _o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c
     _L_a_n_g_u_a_g_e _S_c_h_e_m_e, with minor constraints and some additions.
     The Scheme interpreter is written in Scheme which has then
     been compiled using the Scheme-to-C compiler, scc.

OPTIONS
     These options are accepted by sci.

     -e             Echo text read from the standard input file
                    on the standard output file.

     -emacs         Scheme interpreter is controlled by GNU
                    emacs.

     -nh            Do not print the interpreter version header
                    on the standard output file.

     -np            Do not prompt for input from the standard
                    input file on the standard output file.

     -q             Do not print the result of each expression
                    evaluation.

     -scgc   _s_t_a_t_f_l_a_g
                    Enables garbage collection statistics.  If
                    set to 1, then garbage collection statistics
                    will be printed.  The default is 0, that will
                    result in no statistics.

     -sch  _h_e_a_p     Define the size of the heap in megabytes.
                    The default heap size is 4 MB.

     -schf  _h_e_a_p_f_i_l_e
                    Define a file containing a saved heap image
                    that is to be used to initialize the heap.

     -scl _p_e_r_c_e_n_t   Specifies the percent of the heap allocated
                    after a generational garbage collection that
                    will force a full collection.

     -scm  _m_a_i_n     Define the function that should be used
                    instead of the predefined "main".  The



                                                                1






SCI(1)                                                      local



                    function name must be entered in the correct
                    case, i.e. letters typically upshifted.

ENVIRONMENT VARIABLES
     The items controlled by -_s_c.. flags can also be controlled
     by environment variables.  If both the flag and the environ-
     ment variable are provided, then the flag's value will be
     used.

     SCGCINFO       Controls the reporting of garbage collection
                    statistics to the standard error file.  If
                    set to 1, then garbage collection statistics
                    will be printed.  The default setting is 0
                    that will not print the statistics.

     SCHEAP         Defines the size of the heap in megabytes.
                    The default heap size is 4 MB.

     SCHEAPFILE     Controls initialization of the heap from a
                    saved heap image.  If supplied, then the heap
                    will be loaded from the file.

     SCLIMIT        Defines the percent of the heap allocated
                    after a generational garbage collection that
                    will force a full collection.  The default is
                    33.

FILES
     The interpreter is one a.out file with the name _s_c_i.  All
     files associated with the interpreter are found in the
     directory .../_s_c_h_e_m_e_t_o_c/_s_c_r_t.

SEE ALSO
     Harold Abelson and Gerald Jay Sussman with Julie Sussman,
     _S_t_r_u_c_t_u_r_e _a_n_d _I_n_t_e_r_p_r_e_t_a_t_i_o_n _o_f _C_o_m_p_u_t_e_r _P_r_o_g_r_a_m_s, The MIT
     Press.

     Jonathan Rees and William Clinger (Editors), _R_e_v_i_s_e_d_3 _R_e_p_o_r_t
     _o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c _L_a_n_g_u_a_g_e _S_c_h_e_m_e, SIGPLAN Notices, V21,
     #12, December 1986.

     R. Kent Dybvig, _T_h_e _S_C_H_E_M_E _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e, Prentice
     Hall, Inc.

     Daniel P. Friedman and Matthias Felleisen, _T_h_e _L_i_t_t_l_e
     _L_I_S_P_e_r, MIT Press.

     Joel Bartlett, documentation files in .../_s_c_h_e_m_e_t_o_c/....

     scc(1)





2






local                                                      SCI(1)



QUESTIONS, COMMENTS, AND COMPLAINTS
     bartlett@decwrl.dec.com





















































                                                                3


99