# Source for file scheme.php

Documentation is available at scheme.php

    1     <?php
    2     /***********************************************************************************
    3      * scheme.php
    4      * ----------
    5      * Author: Jon Raphaelson (jonraphaelson@gmail.com)
    6      * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter)
    7      * Release Version: 1.0.7.3
    8      * CVS Revision Version: $Revision: 1.1 $
    9      * Date Started: 2004/08/30
    10     * Last Modified: $Date: 2006/01/23 09:27:29 $
    11     *
    12     * Scheme language file for GeSHi.
    13     *
    14     * CHANGES
    15     * -------
    16     * 2005/09/22 (1.0.0)
    17     *  -  First Release
    18     *
    19     * TODO (updated 2005/09/22)
    20     * -------------------------
    21     *
    22     ************************************************************************************
    23     *
    24     *     This file is part of GeSHi.
    25     *
    26     *   GeSHi is free software; you can redistribute it and/or modify
    27     *   it under the terms of the GNU General Public License as published by
    28     *   the Free Software Foundation; either version 2 of the License, or
    29     *   (at your option) any later version.
    30     *
    31     *   GeSHi is distributed in the hope that it will be useful,
    32     *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    33     *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    34     *   GNU General Public License for more details.
    35     *
    36     *   You should have received a copy of the GNU General Public License
    37     *   along with GeSHi; if not, write to the Free Software
    38     *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    39     *
    40     ************************************************************************************/
    40
    41
    42    $language_data = array (
    43        'LANG_NAME' => 'Scheme',
    44        'COMMENT_SINGLE' => array(1 => ';'),
    45        'COMMENT_MULTI' => array(';|' => '|;'),
    46        'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    47        'QUOTEMARKS' => array('"'),
    48        'ESCAPE_CHAR' => '\\',
    49        'KEYWORDS' => array(
    50            1 => array(
    51              'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate',
    52              'asin', 'assoc', 'assq', 'assv', 'atan',
    53
    54              'begin', 'boolean?', 'bound-identifier=?',
    55
    56              'caar', 'caddr', 'cadr', 'call-with-current-continuation',
    57              'call-with-input-file', 'call-with-output-file', 'call/cc', 'car',
    58              'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer',
    59              'char-alphabetic?', 'char-ci<=?', 'char-ci<?', 'char-ci?', 'char-ci>=?',
    60              'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?',
    61              'char-numeric', 'char-ready', 'char-ready?', 'char-upcase',
    62              'char-upper-case?', 'char-whitespace?', 'char<=?', 'char<?', 'char=?',
    63              'char>=?', 'char>?', 'char?', 'close-input-port', 'close-output-port',
    64              'complex?', 'cond', 'cons', 'construct-identifier', 'cos',
    65              'current-input-port', 'current-output-port',
    66
    67              'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do',
    68
    69              'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact',
    70              'exact?', 'exp', 'expt', 'else',
    71
    72              'f', 'floor', 'for-each', 'force', 'free-identifer=?',
    73
    74              'gcd', 'gen-counter', 'gen-loser', 'generate-identifier',
    75
    76              'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact',
    77              'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system',
    78
    79              'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec',
    80              'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?',
    81              'load', 'log',
    82
    83              'magnitude', 'make-polar', 'make-promise', 'make-rectangular',
    84              'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member',
    85              'memq', 'memv', 'min', 'modulo',
    86
    87              'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?',
    88              'numerator',
    89
    90              'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port',
    91
    92              'pair?', 'peek-char', 'positive?', 'procedure?',
    93
    94              'quasiquote', 'quote', 'quotient',
    95
    96              'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?',
    97              'remainder', 'return', 'reverse',
    98
    99              's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string',
    100             'string->list', 'string->number', 'string->symbol', 'string-append',
    101             'string-ci<=?', 'string-ci<?', 'string-ci=?', 'string-ci>=?',
    102             'string-ci>?', 'string-copy', 'string-fill!', 'string-length',
    103             'string-ref', 'string-set!', 'string<=?', 'string<?', 'string=?',
    104             'string>=?', 'string>?', 'string?', 'substring', 'symbol->string',
    105             'symbol?', 'syntax', 'syntax-rules',
    106
    107             't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate',
    108
    109             'unquote', 'unquote-splicing', 'unwrap-syntax',
    110
    111             'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref',
    112             'vector-set!', 'vector?',
    113
    114             'with-input-from-file', 'with-output-to-file', 'write', 'write-char',
    115
    116             'zero?'
    117
    118               )
    119           ),
    120       'SYMBOLS' => array(
    121           '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|'
    122           ),
    123       'CASE_SENSITIVE' => array(
    124           GESHI_COMMENTS => true,
    125           1 => false
    126           ),
    127       'STYLES' => array(
    128           'KEYWORDS' => array(
    129               1 => 'color: #b1b100;'
    130               ),
    131           'COMMENTS' => array(
    132               1 => 'color: #808080; font-style: italic;',
    133               'MULTI' => 'color: #808080; font-style: italic;'
    134               ),
    135           'ESCAPE_CHAR' => array(
    136               0 => 'color: #000099; font-weight: bold;'
    137               ),
    138           'BRACKETS' => array(
    139               0 => 'color: #66cc66;'
    140               ),
    141           'STRINGS' => array(
    142               0 => 'color: #ff0000;'
    143               ),
    144           'NUMBERS' => array(
    145               0 => 'color: #cc66cc;'
    146               ),
    147           'METHODS' => array(
    148               0 => 'color: #202020;'
    149               ),
    150           'SYMBOLS' => array(
    151               0 => 'color: #66cc66;'
    152               ),
    153           'REGEXPS' => array(
    154               ),
    155           'SCRIPT' => array(
    156               )
    157           ),
    158       'URLS' => array(
    159           ),
    160       'OOLANG' => false,
    161       'OBJECT_SPLITTERS' => array(
    162           ),
    163       'REGEXPS' => array(
    164           ),
    165       'STRICT_MODE_APPLIES' => GESHI_NEVER,
    166       'SCRIPT_DELIMITERS' => array(
    167           ),
    168       'HIGHLIGHT_STRICT_BLOCK' => array(
    169           )
    170   );
    171
    172   ?>

Documentation generated on Thu, 22 Sep 2005 13:48:06 +1200 by phpDocumentor 1.2.3