plugins/geshi/geshi/haskell.php
author Dan
Fri, 29 May 2009 19:30:59 -0400
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
permissions -rwxr-xr-x
Updated GeSHi. w00t.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     1
<?php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     2
/*************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     3
 * haskell.php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     4
 * ----------
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     5
 * Author: Jason Dagit (dagit@codersbase.com) based on ocaml.php by Flaie (fireflaie@gmail.com)
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     6
 * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     7
 * Release Version: 1.0.8.2
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     8
 * Date Started: 2005/08/27
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     9
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    10
 * Haskell language file for GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    11
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    12
 * CHANGES
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    13
 * -------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    14
 * 2005/08/27 (1.0.0)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    15
 *   -  First Release
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    16
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    17
 * TODO (updated 2005/08/27)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    18
 * -------------------------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    19
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    20
 *************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    21
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    22
 *   This file is part of GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    23
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    24
 *   GeSHi is free software; you can redistribute it and/or modify
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    25
 *   it under the terms of the GNU General Public License as published by
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    26
 *   the Free Software Foundation; either version 2 of the License, or
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    27
 *   (at your option) any later version.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    28
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    29
 *   GeSHi is distributed in the hope that it will be useful,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    30
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    31
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    32
 *   GNU General Public License for more details.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    33
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    34
 *   You should have received a copy of the GNU General Public License
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    35
 *   along with GeSHi; if not, write to the Free Software
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    36
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    37
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    38
 ************************************************************************************/
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    39
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    40
$language_data = array (
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    41
    'LANG_NAME' => 'Haskell',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    42
    'COMMENT_SINGLE' => array( 1 => '--'),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    43
    'COMMENT_MULTI' => array('{-' => '-}'),
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    44
    'COMMENT_REGEXP' => array(2 => "/-->/"),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    45
    'CASE_KEYWORDS' => 0,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    46
    'QUOTEMARKS' => array('"'),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    47
    'ESCAPE_CHAR' => "\\",
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    48
    'KEYWORDS' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    49
        /* main haskell keywords */
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    50
        1 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    51
            'as',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    52
            'case', 'of', 'class', 'data', 'default',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    53
            'deriving', 'do', 'forall', 'hiding', 'if', 'then',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    54
            'else', 'import', 'infix', 'infixl', 'infixr',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    55
            'instance', 'let', 'in', 'module', 'newtype',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    56
            'qualified', 'type', 'where'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    57
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    58
        /* define names of main librarys, so we can link to it */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    59
        2 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    60
            'Foreign', 'Numeric', 'Prelude'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    61
            ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    62
        /* just link to Prelude functions, cause it's the default opened library when starting Haskell */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    63
        3 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    64
            'not', 'otherwise', 'maybe',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    65
            'either', 'fst', 'snd', 'curry', 'uncurry',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    66
            'compare',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    67
            'max', 'min', 'succ', 'pred', 'toEnum', 'fromEnum',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    68
            'enumFrom', 'enumFromThen', 'enumFromTo',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    69
            'enumFromThenTo', 'minBound', 'maxBound',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    70
            'negate', 'abs', 'signum',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    71
            'fromInteger', 'toRational', 'quot', 'rem',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    72
            'div', 'mod', 'quotRem', 'divMod', 'toInteger',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    73
            'recip', 'fromRational', 'pi', 'exp',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    74
            'log', 'sqrt', 'logBase', 'sin', 'cos',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    75
            'tan', 'asin', 'acos', 'atan', 'sinh', 'cosh',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    76
            'tanh', 'asinh', 'acosh', 'atanh',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    77
            'properFraction', 'truncate', 'round', 'ceiling',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    78
            'floor', 'floatRadix', 'floatDigits', 'floatRange',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    79
            'decodeFloat', 'encodeFloat', 'exponent',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    80
            'significand', 'scaleFloat', 'isNaN', 'isInfinite',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    81
            'isDenomalized', 'isNegativeZero', 'isIEEE',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    82
            'atan2', 'subtract', 'even', 'odd', 'gcd',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    83
            'lcm', 'fromIntegral', 'realToFrac',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    84
            'return', 'fail', 'fmap',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    85
            'mapM', 'mapM_', 'sequence', 'sequence_',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    86
            'id', 'const','flip',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    87
            'until', 'asTypeOf', 'error', 'undefined',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    88
            'seq','map','filter', 'head',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    89
            'last', 'tail', 'init', 'null', 'length',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    90
            'reverse', 'foldl', 'foldl1', 'foldr',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    91
            'foldr1', 'and', 'or', 'any', 'all', 'sum',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    92
            'product', 'concat', 'concatMap', 'maximum',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    93
            'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    94
            'iterate', 'repeat', 'cycle', 'take', 'drop',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    95
            'splitAt', 'teakWhile', 'dropWhile', 'span',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    96
            'break', 'elem', 'notElem', 'lookup', 'zip',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    97
            'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    98
            'lines', 'words', 'unlines',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    99
            'unwords', 'showPrec', 'show', 'showList',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   100
            'shows', 'showChar', 'showString', 'showParen',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   101
            'readsPrec', 'readList', 'reads', 'readParen',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   102
            'read', 'lex', 'putChar', 'putStr', 'putStrLn',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   103
            'print', 'getChar', 'getLine', 'getContents',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   104
            'interact', 'readFile', 'writeFile', 'appendFile',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   105
            'readIO', 'readLn', 'ioError', 'userError', 'catch'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   106
            ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   107
        /* here Prelude Types */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   108
        4 => array (
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   109
            'Bool', 'Maybe', 'Either', 'Ord', 'Ordering',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   110
            'Char', 'String', 'Eq', 'Enum', 'Bounded',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   111
            'Int', 'Integer', 'Float', 'Double', 'Rational',
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   112
            'Num', 'Real', 'Integral', 'Fractional',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   113
            'Floating', 'RealFrac', 'RealFloat', 'Monad',
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   114
            'Functor', 'Show', 'ShowS', 'Read', 'ReadS',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   115
            'IO'
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   116
            ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   117
        /* finally Prelude Exceptions */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   118
        5 => array (
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   119
            'IOError', 'IOException'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   120
            )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   121
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   122
    /* highlighting symbols is really important in Haskell */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   123
    'SYMBOLS' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   124
        '|', '->', '<-', '@', '!', '::', '_', '~', '=', '?',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   125
        '&&', '||', '==', '/=', '<', '<=', '>',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   126
        '>=','+', '-', '*','/', '%', '**', '^', '^^',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   127
        '>>=', '>>', '=<<',  '$', '.', ',', '$!',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   128
        '++', '!!'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   129
        ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   130
    'CASE_SENSITIVE' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   131
        GESHI_COMMENTS => false,
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   132
        1 => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   133
        2 => true, /* functions name are case seinsitive */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   134
        3 => true, /* types name too */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   135
        4 => true, /* finally exceptions too */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   136
        5 => true
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   137
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   138
    'STYLES' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   139
        'KEYWORDS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   140
            1 => 'color: #06c; font-weight: bold;', /* nice blue */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   141
            2 => 'color: #06c; font-weight: bold;', /* blue as well */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   142
            3 => 'font-weight: bold;', /* make the preduled functions bold */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   143
            4 => 'color: #cccc00; font-weight: bold;', /* give types a different bg */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   144
            5 => 'color: maroon;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   145
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   146
        'COMMENTS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   147
            1 => 'color: #5d478b; font-style: italic;',
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   148
            2 => 'color: #339933; font-weight: bold;',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   149
            'MULTI' => 'color: #5d478b; font-style: italic;' /* light purpHle */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   150
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   151
        'ESCAPE_CHAR' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   152
            0 => 'background-color: #3cb371; font-weight: bold;'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   153
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   154
        'BRACKETS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   155
            0 => 'color: green;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   156
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   157
        'STRINGS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   158
            0 => 'background-color: #3cb371;' /* nice green */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   159
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   160
        'NUMBERS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   161
            0 => 'color: red;' /* pink */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   162
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   163
        'METHODS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   164
            1 => 'color: #060;' /* dark green */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   165
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   166
        'REGEXPS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   167
            ),
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   168
        'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   169
            0 => 'color: #339933; font-weight: bold;'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   170
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   171
        'SCRIPT' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   172
            )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   173
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   174
    'URLS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   175
        /* some of keywords are Prelude functions */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   176
        1 => '',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   177
        /* link to the wanted library */
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   178
        2 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/{FNAME}.html',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   179
        /* link to Prelude functions */
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   180
        3 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:{FNAME}',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   181
        /* link to Prelude types */
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   182
        4 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   183
        /* link to Prelude exceptions */
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   184
        5 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   185
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   186
    'OOLANG' => false,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   187
    'OBJECT_SPLITTERS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   188
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   189
    'REGEXPS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   190
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   191
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   192
    'SCRIPT_DELIMITERS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   193
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   194
    'HIGHLIGHT_STRICT_BLOCK' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   195
        )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   196
);
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   197
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   198
?>