Changeset 12805 in project


Ignore:
Timestamp:
12/09/08 14:00:49 (11 years ago)
Author:
svnwiki
Message:

Changes applied for Anonymous coward (91.52.230.221) through svnwiki:

sorted options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/Using the interpreter

    r7932 r12805  
    2222; -- : Ignore everything on the command-line following this marker. Runtime options ({{-:...}}) are still recognized.
    2323
     24; -b  -batch : Quit the interpreter after processing all command line options.
     25
     26; -D  -feature SYMBOL : Registers {{SYMBOL}} to be a valid feature identifier for {{cond-expand}} and {{feature?}}.
     27
     28; -e  -eval EXPRESSIONS : Evaluate {{EXPRESSIONS}}. This option implies {{-batch}} and {{-quiet}}, so no startup message will be printed and the interpreter exits after processing all {{-eval}} options and/or loading files given on the command-line.
     29
     30; -h  -help : Write a summary of the available command line options to standard output and exit.
     31
    2432; -i  -case-insensitive : Enables the reader to read symbols case insensitive. The default is to read case sensitive (in violation of R5RS).  This option registers the {{case-insensitive}} feature identifier.
    2533
    26 ; -b  -batch : Quit the interpreter after processing all command line options.
    27 
    28 ; -e  -eval EXPRESSIONS : Evaluate {{EXPRESSIONS}}. This option implies {{-batch}} and {{-quiet}}, so no startup message will be printed and the interpreter exits after processing all {{-eval}} options and/or loading files given on the command-line.
     34; -I  -include-path PATHNAME : Specifies an alternative search-path for files included via the {{include}} special form. This option may be given multiple times. If the environment variable {{CHICKEN_INCLUDE_PATH}} is set, it should contain a list of alternative include pathnames separated by {{;}}.
     35
     36; -k  -keyword-style STYLE : Enables alternative keyword syntax, where {{STYLE}} may be either {{prefix}} (as in Common Lisp) or {{suffix}} (as in DSSSL). Any other value is ignored.
     37
     38; -n  -no-init : Do not load initialization-file. If this option is not given and the file {{./.csirc}} or {{$HOME/.csirc}} exists, then it is loaded before the read-eval-print loop commences.
    2939
    3040; -p  -print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{print}}. Implies {{-batch}} and {{-quiet}}.
     
    3242; -P  -pretty-print EXPRESSIONS : Evaluate {{EXPRESSIONS}} and print the results of each expression using {{pretty-print}}. Implies {{-batch}} and {{-quiet}}.
    3343
    34 ; -D  -feature SYMBOL : Registers {{SYMBOL}} to be a valid feature identifier for {{cond-expand}} and {{feature?}}.
    35 
    36 ; -h  -help : Write a summary of the available command line options to standard output and exit.
    37 
    38 ; -I  -include-path PATHNAME : Specifies an alternative search-path for files included via the {{include}} special form. This option may be given multiple times. If the environment variable {{CHICKEN_INCLUDE_PATH}} is set, it should contain a list of alternative include pathnames separated by {{;}}.
    39 
    40 ; -k  -keyword-style STYLE : Enables alternative keyword syntax, where {{STYLE}} may be either {{prefix}} (as in Common Lisp) or {{suffix}} (as in DSSSL). Any other value is ignored.
    41 
    42 ; -n  -no-init : Do not load initialization-file. If this option is not given and the file {{./.csirc}} or {{$HOME/.csirc}} exists, then it is loaded before the read-eval-print loop commences.
     44; -q  -quiet : Do not print a startup message. Also disables generation of call-trace information for interpreted code.
     45
     46; -R  -require-extension NAME : Equivalent to evaluating {{(require-extension NAME)}}.
     47
     48; -s  -script PATHNAME : This is equivalent to {{-batch -quiet -no-init PATHNAME}}. Arguments following {{PATHNAME}} are available by using  {{command-line-arguments}} and are not processed as interpreter options. Extra options in the environment variable {{CSI_OPTIONS}} are ignored.
     49
     50; -ss PATHNAME : The same as {{-s PATHNAME}} but invokes the procedure {{main}} with the value of {{(command-line-arguments)}} as its single argument. If the main procedure returns an integer result, then the interpreter is terminated, returning the integer as the status code back to the invoking process. Any other result terminates the interpreter with a zero exit status.
     51
     52; -v  -version : Write the banner with version information to standard output and exit.
    4353
    4454; -w  -no-warnings : Disables any warnings that might be issued by the reader or evaluated code.
    45 
    46 ; -q  -quiet : Do not print a startup message. Also disables generation of call-trace information for interpreted code.
    47 
    48 ; -s  -script PATHNAME : This is equivalent to {{-batch -quiet -no-init PATHNAME}}. Arguments following {{PATHNAME}} are available by using  {{command-line-arguments}} and are not processed as interpreter options. Extra options in the environment variable {{CSI_OPTIONS}} are ignored.
    49 
    50 ; -ss PATHNAME : The same as {{-s PATHNAME}} but invokes the procedure {{main}} with the value of {{(command-line-arguments)}} as its single argument. If the main procedure returns an integer result, then the interpreter is terminated, returning the integer as the status code back to the invoking process. Any other result terminates the interpreter with a zero exit status.
    51 
    52 ; -R  -require-extension NAME : Equivalent to evaluating {{(require-extension NAME)}}.
    53 
    54 ; -v  -version : Write the banner with version information to standard output and exit.
    55 
    5655
    5756=== Writing Scheme scripts
Note: See TracChangeset for help on using the changeset viewer.