36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
37 * |
37 * |
38 ************************************************************************************/ |
38 ************************************************************************************/ |
39 |
39 |
40 $language_data = array ( |
40 $language_data = array ( |
41 'LANG_NAME' => 'Scheme', |
41 'LANG_NAME' => 'Scheme', |
42 'COMMENT_SINGLE' => array(1 => ';'), |
42 'COMMENT_SINGLE' => array(1 => ';'), |
43 'COMMENT_MULTI' => array(';|' => '|;'), |
43 'COMMENT_MULTI' => array('#|' => '|#'), |
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
45 'QUOTEMARKS' => array('"'), |
45 'QUOTEMARKS' => array('"'), |
46 'ESCAPE_CHAR' => '\\', |
46 'ESCAPE_CHAR' => '\\', |
47 'KEYWORDS' => array( |
47 'KEYWORDS' => array( |
48 1 => array( |
48 1 => array( |
49 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate', |
49 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate', |
50 'asin', 'assoc', 'assq', 'assv', 'atan', |
50 'asin', 'assoc', 'assq', 'assv', 'atan', |
51 |
51 |
52 'begin', 'boolean?', 'bound-identifier=?', |
52 'begin', 'boolean?', 'bound-identifier=?', |
53 |
53 |
54 'caar', 'caddr', 'cadr', 'call-with-current-continuation', |
54 'caar', 'caddr', 'cadr', 'call-with-current-continuation', |
55 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car', |
55 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car', |
56 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer', |
56 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer', |
57 'char-alphabetic?', 'char-ci<=?', 'char-ci<?', 'char-ci?', 'char-ci>=?', |
57 'char-alphabetic?', 'char-ci<=?', 'char-ci<?', 'char-ci?', 'char-ci>=?', |
58 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?', |
58 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?', |
59 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase', |
59 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase', |
60 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char<?', 'char=?', |
60 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char<?', 'char=?', |
61 'char>=?', 'char>?', 'char?', 'close-input-port', 'close-output-port', |
61 'char>=?', 'char>?', 'char?', 'close-input-port', 'close-output-port', |
62 'complex?', 'cond', 'cons', 'construct-identifier', 'cos', |
62 'complex?', 'cond', 'cons', 'construct-identifier', 'cos', |
63 'current-input-port', 'current-output-port', |
63 'current-input-port', 'current-output-port', |
64 |
64 |
65 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do', |
65 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do', |
66 |
66 |
67 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact', |
67 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact', |
68 'exact?', 'exp', 'expt', 'else', |
68 'exact?', 'exp', 'expt', 'else', |
69 |
69 |
70 'f', 'floor', 'for-each', 'force', 'free-identifer=?', |
70 'f', 'floor', 'for-each', 'force', 'free-identifer=?', |
71 |
71 |
72 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier', |
72 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier', |
73 |
73 |
74 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact', |
74 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact', |
75 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system', |
75 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system', |
76 |
76 |
77 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec', |
77 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec', |
78 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?', |
78 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?', |
79 'load', 'log', |
79 'load', 'log', |
80 |
80 |
81 'magnitude', 'make-polar', 'make-promise', 'make-rectangular', |
81 'magnitude', 'make-polar', 'make-promise', 'make-rectangular', |
82 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member', |
82 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member', |
83 'memq', 'memv', 'min', 'modulo', |
83 'memq', 'memv', 'min', 'modulo', |
84 |
84 |
85 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?', |
85 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?', |
86 'numerator', |
86 'numerator', |
87 |
87 |
88 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port', |
88 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port', |
89 |
89 |
90 'pair?', 'peek-char', 'positive?', 'procedure?', |
90 'pair?', 'peek-char', 'positive?', 'procedure?', |
91 |
91 |
92 'quasiquote', 'quote', 'quotient', |
92 'quasiquote', 'quote', 'quotient', |
93 |
93 |
94 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?', |
94 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?', |
95 'remainder', 'return', 'reverse', |
95 'remainder', 'return', 'reverse', |
96 |
96 |
97 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string', |
97 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string', |
98 'string->list', 'string->number', 'string->symbol', 'string-append', |
98 'string->list', 'string->number', 'string->symbol', 'string-append', |
99 'string-ci<=?', 'string-ci<?', 'string-ci=?', 'string-ci>=?', |
99 'string-ci<=?', 'string-ci<?', 'string-ci=?', 'string-ci>=?', |
100 'string-ci>?', 'string-copy', 'string-fill!', 'string-length', |
100 'string-ci>?', 'string-copy', 'string-fill!', 'string-length', |
101 'string-ref', 'string-set!', 'string<=?', 'string<?', 'string=?', |
101 'string-ref', 'string-set!', 'string<=?', 'string<?', 'string=?', |
102 'string>=?', 'string>?', 'string?', 'substring', 'symbol->string', |
102 'string>=?', 'string>?', 'string?', 'substring', 'symbol->string', |
103 'symbol?', 'syntax', 'syntax-rules', |
103 'symbol?', 'syntax', 'syntax-rules', |
104 |
104 |
105 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate', |
105 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate', |
106 |
106 |
107 'unquote', 'unquote-splicing', 'unwrap-syntax', |
107 'unquote', 'unquote-splicing', 'unwrap-syntax', |
108 |
108 |
109 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref', |
109 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref', |
110 'vector-set!', 'vector?', |
110 'vector-set!', 'vector?', |
111 |
111 |
112 'with-input-from-file', 'with-output-to-file', 'write', 'write-char', |
112 'with-input-from-file', 'with-output-to-file', 'write', 'write-char', |
113 |
113 |
114 'zero?' |
114 'zero?' |
115 |
115 ) |
116 ) |
116 ), |
117 ), |
117 'SYMBOLS' => array( |
118 'SYMBOLS' => array( |
118 '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|' |
119 '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|' |
119 ), |
120 ), |
120 'CASE_SENSITIVE' => array( |
121 'CASE_SENSITIVE' => array( |
121 GESHI_COMMENTS => false, |
122 GESHI_COMMENTS => true, |
122 1 => false |
123 1 => false |
123 ), |
124 ), |
124 'STYLES' => array( |
125 'STYLES' => array( |
125 'KEYWORDS' => array( |
126 'KEYWORDS' => array( |
126 1 => 'color: #b1b100;' |
127 1 => 'color: #b1b100;' |
127 ), |
128 ), |
128 'COMMENTS' => array( |
129 'COMMENTS' => array( |
129 1 => 'color: #808080; font-style: italic;', |
130 1 => 'color: #808080; font-style: italic;', |
130 'MULTI' => 'color: #808080; font-style: italic;' |
131 'MULTI' => 'color: #808080; font-style: italic;' |
131 ), |
132 ), |
132 'ESCAPE_CHAR' => array( |
133 'ESCAPE_CHAR' => array( |
133 0 => 'color: #000099; font-weight: bold;' |
134 0 => 'color: #000099; font-weight: bold;' |
134 ), |
135 ), |
135 'BRACKETS' => array( |
136 'BRACKETS' => array( |
136 0 => 'color: #66cc66;' |
137 0 => 'color: #66cc66;' |
137 ), |
138 ), |
138 'STRINGS' => array( |
139 'STRINGS' => array( |
139 0 => 'color: #ff0000;' |
140 0 => 'color: #ff0000;' |
140 ), |
141 ), |
141 'NUMBERS' => array( |
142 'NUMBERS' => array( |
142 0 => 'color: #cc66cc;' |
143 0 => 'color: #cc66cc;' |
143 ), |
144 ), |
144 'METHODS' => array( |
145 'METHODS' => array( |
145 0 => 'color: #202020;' |
146 0 => 'color: #202020;' |
146 ), |
147 ), |
147 'SYMBOLS' => array( |
148 'SYMBOLS' => array( |
148 0 => 'color: #66cc66;' |
149 0 => 'color: #66cc66;' |
149 ), |
150 ), |
150 'REGEXPS' => array( |
151 'REGEXPS' => array( |
151 ), |
152 ), |
152 'SCRIPT' => array( |
153 'SCRIPT' => array( |
153 ) |
154 ) |
154 ), |
155 ), |
155 'URLS' => array( |
156 'URLS' => array( |
156 1 => '' |
157 ), |
157 ), |
158 'OOLANG' => false, |
158 'OOLANG' => false, |
159 'OBJECT_SPLITTERS' => array( |
159 'OBJECT_SPLITTERS' => array( |
160 ), |
160 ), |
161 'REGEXPS' => array( |
161 'REGEXPS' => array( |
162 ), |
162 ), |
163 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
163 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
164 'SCRIPT_DELIMITERS' => array( |
164 'SCRIPT_DELIMITERS' => array( |
165 ), |
165 ), |
166 'HIGHLIGHT_STRICT_BLOCK' => array( |
166 'HIGHLIGHT_STRICT_BLOCK' => array( |
167 ) |
167 ) |
168 ); |
168 ); |
169 |
169 |
170 ?> |
170 ?> |